From 8683c93613caa4047c4fd874aefb0b7d35fdc038 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 3 Dec 2019 01:33:25 +0100 Subject: version bump / pending balance tweaks --- src/wallet-impl/tip.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wallet-impl/tip.ts') 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, }; -- cgit v1.2.3