update/add exchange before withdrawal

This commit is contained in:
Florian Dold 2020-07-16 20:51:22 +05:30
parent d17da64a35
commit 041911a15f
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -925,6 +925,7 @@ testCli
})
.action(async (args) => {
await withWallet(args, async (wallet) => {
await wallet.updateExchangeFromUrl(args.withdrawArgs.exchange, true);
await withdrawTestBalance(
wallet,
args.withdrawArgs.amount,