tfix: tx outputs - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit f97fe02e3a379b3b904d598187e310ac047a0ea8
DIR parent 703c2c0895295bfc50ce6d9f7b155660c8f6ff36
HTML Author: ecdsa <ecdsa@github>
Date: Sun, 3 Mar 2013 19:29:03 +0100
fix: tx outputs
Diffstat:
M lib/wallet.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -1084,8 +1084,7 @@ class Wallet:
print_error("new history is orphaning transaction:", tx_hash)
# check that all outputs are not mine, request histories
ext_requests = []
- for o in tx.get('outputs'):
- _addr = o.get('address')
+ for _addr, _v in tx.outputs:
# assert not self.is_mine(_addr)
ext_requests.append( ('blockchain.address.get_history', [_addr]) )