diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-23 19:24:00 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-23 19:24:00 +0530 |
commit | 56ece296e0e13de3c796a4ac317c6ce9e4fd7c28 (patch) | |
tree | c5d009987c5937ab1ecf17985222d1edc80323ab /src/operations/reserves.ts | |
parent | 80433b939962815ad8807b0d6e957d66dbd0e306 (diff) | |
download | wallet-core-56ece296e0e13de3c796a4ac317c6ce9e4fd7c28.tar.xz |
implement common wallet-core API handler
Diffstat (limited to 'src/operations/reserves.ts')
-rw-r--r-- | src/operations/reserves.ts | 11 |
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, |