mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
[trivial] use namedtuple field by name
This commit is contained in:
parent
7458461f13
commit
ef1330df5d
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class AddressSynchronizer(PrintError):
|
||||||
add_value_from_prev_output()
|
add_value_from_prev_output()
|
||||||
# add outputs
|
# add outputs
|
||||||
for n, txo in enumerate(tx.outputs()):
|
for n, txo in enumerate(tx.outputs()):
|
||||||
v = txo[2]
|
v = txo.value
|
||||||
ser = tx_hash + ':%d'%n
|
ser = tx_hash + ':%d'%n
|
||||||
addr = self.get_txout_address(txo)
|
addr = self.get_txout_address(txo)
|
||||||
if addr and self.is_mine(addr):
|
if addr and self.is_mine(addr):
|
||||||
|
|
Loading…
Add table
Reference in a new issue