diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-08 19:27:08 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-08 19:27:08 +0530 |
commit | b9e43e652e606706a81f39d4f888477580de79b0 (patch) | |
tree | d6840162173a9c97414c3662a7ad43bf7349f1d6 /packages/taler-wallet-core/src/wallet.ts | |
parent | b063382d25d1ed8572ebe2f52bf54247379300d5 (diff) | |
download | wallet-core-b9e43e652e606706a81f39d4f888477580de79b0.tar.gz wallet-core-b9e43e652e606706a81f39d4f888477580de79b0.tar.bz2 wallet-core-b9e43e652e606706a81f39d4f888477580de79b0.zip |
fix tipping and adjust DB
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 0507ac8b2..cd9646339 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -86,7 +86,6 @@ import { codecForPreparePayRequest, codecForIntegrationTestArgs, WithdrawTestBalanceRequest, - withdrawTestBalanceDefaults, codecForWithdrawTestBalance, codecForTestPayArgs, codecForSetCoinSuspendedRequest, @@ -916,9 +915,7 @@ export class Wallet { console.error("no withdrawal session found for coin"); continue; } - if (ws.source.type == "reserve") { - withdrawalReservePub = ws.source.reservePub; - } + withdrawalReservePub = ws.reservePub; } coinsJson.coins.push({ coin_pub: c.coinPub, |