1
0

fix sweep

This commit is contained in:
ThomasV
2017-10-05 20:08:16 +02:00
parent 3dabb94046
commit 15ab48aaa8
3 changed files with 7 additions and 6 deletions

View File

@@ -388,7 +388,7 @@ class Commands:
privkey to a destination address. The transaction is not
broadcasted."""
tx_fee = satoshis(tx_fee)
privkeys = privkey if type(privkey) is list else [privkey]
privkeys = privkey.split()
self.nocheck = nocheck
dest = self._resolver(destination)
tx = self.wallet.sweep(privkeys, self.network, self.config, dest, tx_fee, imax)