@@ -545,18 +545,18 @@ def sendrawtransaction(self, tx, allowhighfees=False):
545
545
r = self ._call ('sendrawtransaction' , hextx )
546
546
return lx (r )
547
547
548
- def sendmany (self , fromaccount , payments , minconf = 1 , comment = '' ):
548
+ def sendmany (self , fromaccount , payments , minconf = 1 , comment = '' , subtractfeefromamount = False ):
549
549
"""Sent amount to a given address"""
550
550
json_payments = {str (addr ):float (amount )/ COIN
551
551
for addr , amount in payments .items ()}
552
- r = self ._call ('sendmany' , fromaccount , json_payments , minconf , comment )
552
+ r = self ._call ('sendmany' , fromaccount , json_payments , minconf , comment , subtractfeefromamount )
553
553
return lx (r )
554
554
555
- def sendtoaddress (self , addr , amount ):
555
+ def sendtoaddress (self , addr , amount , comment = '' , commentto = '' , subtractfeefromamount = False ):
556
556
"""Sent amount to a given address"""
557
557
addr = str (addr )
558
558
amount = float (amount )/ COIN
559
- r = self ._call ('sendtoaddress' , addr , amount )
559
+ r = self ._call ('sendtoaddress' , addr , amount , comment , commentto , subtractfeefromamount )
560
560
return lx (r )
561
561
562
562
def signrawtransaction (self , tx , * args ):
0 commit comments