diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-20 12:44:47 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-20 12:45:56 +0530 |
commit | e3135213fcad72d442a268e2fa78dfec6b88faf5 (patch) | |
tree | 76360858b2a72a39e6f4b4348568ca8479d69756 | |
parent | 56eff48140c2fe7a618ece3cb64ec0d35fb13230 (diff) |
remove some printf debugging
-rw-r--r-- | src/operations/withdraw.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/operations/withdraw.ts b/src/operations/withdraw.ts index d55198e69..b602aa12b 100644 --- a/src/operations/withdraw.ts +++ b/src/operations/withdraw.ts @@ -96,8 +96,6 @@ export function getWithdrawDenomList( denoms = denoms.filter(isWithdrawableDenom); denoms.sort((d1, d2) => Amounts.cmp(d2.value, d1.value)); - console.log("start remaining is", Amounts.stringify(remaining)); - for (const d of denoms) { let count = 0; const cost = Amounts.add(d.value, d.feeWithdraw).amount; @@ -107,10 +105,8 @@ export function getWithdrawDenomList( break; } remaining = Amounts.sub(remaining, cost).amount; - console.log("remaining is", Amounts.stringify(remaining)); count++; } - console.log("count is", count); if (count > 0) { totalCoinValue = Amounts.add( totalCoinValue, |