From ef1330df5d3f7b5021bf7fc453657a7ea0d3af1c Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sun, 3 Mar 2019 17:34:03 +0100 Subject: [PATCH] [trivial] use namedtuple field by name --- electrum/address_synchronizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/address_synchronizer.py b/electrum/address_synchronizer.py index e6d8893c9..75644b07c 100644 --- a/electrum/address_synchronizer.py +++ b/electrum/address_synchronizer.py @@ -263,7 +263,7 @@ class AddressSynchronizer(PrintError): add_value_from_prev_output() # add outputs for n, txo in enumerate(tx.outputs()): - v = txo[2] + v = txo.value ser = tx_hash + ':%d'%n addr = self.get_txout_address(txo) if addr and self.is_mine(addr):