aboutsummaryrefslogtreecommitdiff
path: root/src/operations/reserves.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/operations/reserves.ts')
-rw-r--r--src/operations/reserves.ts11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/operations/reserves.ts b/src/operations/reserves.ts
index e6b09316e..51499e448 100644
--- a/src/operations/reserves.ts
+++ b/src/operations/reserves.ts
@@ -440,11 +440,8 @@ async function incrementReserveRetry(
if (!r.retryInfo) {
return;
}
- console.log("updating retry info");
- console.log("before", r.retryInfo);
r.retryInfo.retryCounter++;
updateRetryInfoTimeout(r.retryInfo);
- console.log("after", r.retryInfo);
r.lastError = err;
await tx.put(Stores.reserves, r);
});
@@ -528,16 +525,10 @@ async function updateReserve(
reserveInfo.history,
);
- console.log(
- "reconciled history:",
- JSON.stringify(reconciled, undefined, 2),
- );
-
const summary = summarizeReserveHistory(
reconciled.updatedLocalHistory,
currency,
);
- console.log("summary", summary);
if (
reconciled.newAddedItems.length + reconciled.newMatchedItems.length !=
@@ -765,7 +756,7 @@ async function depleteReserve(
);
if (newWithdrawalGroup) {
- console.log("processing new withdraw group");
+ logger.trace("processing new withdraw group");
ws.notify({
type: NotificationType.WithdrawGroupCreated,
withdrawalGroupId: newWithdrawalGroup.withdrawalGroupId,