commit ca1d28ae4597479f28d5cb085d0a7ca8779372f6
parent 5c1cdf02cd35381050cf81d99cbbf5003540b597
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 12 Mar 2017 09:13:24 +0100
Merge pull request #2284 from Matoking/fixpaytomany
Fix 'paytomany' command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -430,7 +430,7 @@ class Commands:
@command('wp')
def paytomany(self, outputs, tx_fee=None, from_addr=None, change_addr=None, nocheck=False, unsigned=False, rbf=False):
"""Create a multi-output transaction. """
- tx_fee = to_satoshis(tx_fee)
+ tx_fee = satoshis(tx_fee)
domain = [from_addr] if from_addr else None
tx = self._mktx(outputs, tx_fee, change_addr, domain, nocheck, unsigned, rbf)
return tx.as_dict()