Fix time spent in input reg shown incorrectly bug
MODIFY
HiddenWallet.Daemon/Wrappers/WalletWrapper.cs
HiddenWallet.Daemon/Wrappers/WalletWrapper.cs
@@ -292,7 +292,12 @@ namespace HiddenWallet.Daemon.Wrappers
}
- var twiir = tumblerStatus?.TimeSpentInInputRegistrationInSeconds ?? 0;
+ int twiir;
+ if (tumblerStatus == null) twiir = 0;
+ else
+ {
+ twiir = (int)TimeSpan.FromSeconds(Convert.ToDouble(tumblerStatus.TimeSpentInInputRegistrationInSeconds)).TotalMinutes;
+ }
var tp = WalletJob.CoinJoinService?.Phase.ToString() ?? "";

MODIFY
HiddenWallet.Gui/app/js/status.ts
HiddenWallet.Gui/app/js/status.ts
@@ -144,7 +144,7 @@ let tumblerDenomination: number;
let tumblerAnonymitySet: string;
let tumblerNumberOfPeers: string;
let tumblerFeePerRound: number;
-let tumblerWaitedInInputRegistration: number;
+let tumblerWaitedInInputRegistration: string;
let tumblerPhase: string;
function updateMixerContent(response = null) {
try {
@@ -183,7 +183,7 @@ function updateMixerContent(response = null) {
anonymitySetElem.innerText = tumblerAnonymitySet;
peerCountElem.innerText = tumblerNumberOfPeers;
tumblerFeePerRoundElem.innerText = tumblerFeePerRound + " BTC";
- timeSpentWaitingElem.innerText = String(Math.floor(tumblerWaitedInInputRegistration / 60)) + " minutes";
+ timeSpentWaitingElem.innerText = tumblerWaitedInInputRegistration + " minutes";
currentPhaseElem.innerText = tumblerPhase;
}
catch (err) {

Fix time spent in input reg shown incorrectly bug