@@ -527,18 +527,18 @@ def sendrawtransaction(self, tx, allowhighfees=False):
527527 r = self ._call ('sendrawtransaction' , hextx )
528528 return lx (r )
529529
530- def sendmany (self , fromaccount , payments , minconf = 1 , comment = '' ):
530+ def sendmany (self , fromaccount , payments , minconf = 1 , comment = '' , subtractfeefromamount = False ):
531531 """Sent amount to a given address"""
532532 json_payments = {str (addr ):float (amount )/ COIN
533533 for addr , amount in payments .items ()}
534- r = self ._call ('sendmany' , fromaccount , json_payments , minconf , comment )
534+ r = self ._call ('sendmany' , fromaccount , json_payments , minconf , comment , subtractfeefromamount )
535535 return lx (r )
536536
537- def sendtoaddress (self , addr , amount ):
537+ def sendtoaddress (self , addr , amount , comment = '' , commentto = '' , subtractfeefromamount = False ):
538538 """Sent amount to a given address"""
539539 addr = str (addr )
540540 amount = float (amount )/ COIN
541- r = self ._call ('sendtoaddress' , addr , amount )
541+ r = self ._call ('sendtoaddress' , addr , amount , comment , commentto , subtractfeefromamount )
542542 return lx (r )
543543
544544 def signrawtransaction (self , tx , * args ):
0 commit comments