logging
This commit is contained in:
parent
19eb72e277
commit
93633ac683
@ -569,7 +569,7 @@ export async function updateWithdrawalDenoms(
|
|||||||
);
|
);
|
||||||
const now = getTimestampNow();
|
const now = getTimestampNow();
|
||||||
for (const denom of nextDenominations) {
|
for (const denom of nextDenominations) {
|
||||||
const started = timestampCmp(now, denom.stampStart) >= 0;
|
const startDelay = getDurationRemaining(denom.stampStart, now);
|
||||||
const lastPossibleWithdraw = timestampSubtractDuraction(
|
const lastPossibleWithdraw = timestampSubtractDuraction(
|
||||||
denom.stampExpireWithdraw,
|
denom.stampExpireWithdraw,
|
||||||
{ d_ms: 50 * 1000 },
|
{ d_ms: 50 * 1000 },
|
||||||
@ -580,7 +580,7 @@ export async function updateWithdrawalDenoms(
|
|||||||
denom.isRevoked
|
denom.isRevoked
|
||||||
} offered ${denom.isOffered} remaining ${
|
} offered ${denom.isOffered} remaining ${
|
||||||
(remaining.d_ms as number) / 1000
|
(remaining.d_ms as number) / 1000
|
||||||
}sec started ${started}`,
|
}sec withdrawDelay ${(startDelay.d_ms as number) / 1000}sec`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user