Skip to content

Commit 8a6bf79

Browse files
committed
Let Proxy.signrawtransaction() take *args
1 parent 5435686 commit 8a6bf79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bitcoin/rpc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,13 +366,13 @@ def sendrawtransaction(self, tx):
366366
r = self._call('sendrawtransaction', hextx)
367367
return lx(r)
368368

369-
def signrawtransaction(self, tx):
369+
def signrawtransaction(self, tx, *args):
370370
"""Sign inputs for transaction
371371
372372
FIXME: implement options
373373
"""
374374
hextx = hexlify(tx.serialize())
375-
r = self._call('signrawtransaction', hextx)
375+
r = self._call('signrawtransaction', hextx, *args)
376376
r['tx'] = CTransaction.deserialize(unhexlify(r['hex']))
377377
del r['hex']
378378
return r

0 commit comments

Comments
 (0)