Skip to content

Commit d5773b4

Browse files
committed
Fix sendmany default for subtractfeefromamount
1 parent ee6a12e commit d5773b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def sendrawtransaction(self, tx, allowhighfees=False):
545545
r = self._call('sendrawtransaction', hextx)
546546
return lx(r)
547547

548-
def sendmany(self, fromaccount, payments, minconf=1, comment='', subtractfeefromamount=False):
548+
def sendmany(self, fromaccount, payments, minconf=1, comment='', subtractfeefromamount=[]):
549549
"""Sent amount to a given address"""
550550
json_payments = {str(addr):float(amount)/COIN
551551
for addr, amount in payments.items()}

0 commit comments

Comments
 (0)