fix input_info for signrawtransaction
This commit is contained in:
@@ -755,8 +755,8 @@ class Transaction:
|
||||
for i, txin in enumerate(self.inputs):
|
||||
item = input_info[i]
|
||||
txin['address'] = item['address']
|
||||
txin['signatures'] = item['signatures']
|
||||
txin['scriptPubKey'] = item['scriptPubKey']
|
||||
txin['redeemScript'] = item.get('redeemScript')
|
||||
txin['redeemPubkey'] = item.get('redeemPubkey')
|
||||
txin['KeyID'] = item.get('KeyID')
|
||||
txin['signatures'] = item.get('signatures',{})
|
||||
|
||||
Reference in New Issue
Block a user