rename inpust_info -> input_info
This commit is contained in:
@@ -484,7 +484,7 @@ class Transaction:
|
||||
print i
|
||||
e = { 'txid':i['tx_hash'], 'vout':i['index'],'scriptPubKey':i['raw_output_script'] }
|
||||
extras.append(e)
|
||||
self.inputs_info = extras
|
||||
self.input_info = extras
|
||||
return self
|
||||
|
||||
def __str__(self):
|
||||
|
||||
@@ -672,7 +672,7 @@ class Wallet:
|
||||
for i in range(len(tx.inputs)):
|
||||
addr = tx.inputs[i]['address']
|
||||
n, is_change = self.get_address_index(addr)
|
||||
tx.inputs_info[i]['electrumKeyID'] = (n, is_change)
|
||||
tx.input_info[i]['electrumKeyID'] = (n, is_change)
|
||||
|
||||
if not self.seed:
|
||||
return tx
|
||||
|
||||
Reference in New Issue
Block a user