diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-03 01:33:25 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-03 01:36:06 +0100 |
commit | 8683c93613caa4047c4fd874aefb0b7d35fdc038 (patch) | |
tree | d8cbdab473e9f53119db4590f6543a5f0f8a39f8 /src/wallet-impl/tip.ts | |
parent | c33dd75711a39403bd4dd9940caab6d5e6ad2d77 (diff) |
version bump / pending balance tweaks
Diffstat (limited to 'src/wallet-impl/tip.ts')
-rw-r--r-- | src/wallet-impl/tip.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet-impl/tip.ts b/src/wallet-impl/tip.ts index b102d026f..593f0d612 100644 --- a/src/wallet-impl/tip.ts +++ b/src/wallet-impl/tip.ts @@ -202,8 +202,9 @@ export async function processTip( }, startTimestamp: getTimestampNow(), withdrawSessionId: withdrawalSessionId, - withdrawalAmount: Amounts.toString(tipRecord.amount), + rawWithdrawalAmount: tipRecord.amount, withdrawn: planchets.map((x) => false), + totalCoinValue: Amounts.sum(planchets.map((p) => p.coinValue)).amount, }; |