fix sweep
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user