tfix pruning error in #1223 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 89c277de9d70b29918b5c6c3596bf4486584adb2
DIR parent 0fbbeb16bebca6f46f6ae5d4f4f0e9fb1c27c382
HTML Author: ThomasV <thomasv@gitorious>
Date: Sat, 23 May 2015 08:45:27 +0200
fix pruning error in #1223
Diffstat:
M lib/wallet.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -654,6 +654,7 @@ class Abstract_Wallet(object):
for addr, l in dd.items():
for n, v, is_cb in l:
if n == prevout_n:
+ print_error("found pay-to-pubkey address:", addr)
return addr
def add_transaction(self, tx_hash, tx, tx_height):
t@@ -669,10 +670,6 @@ class Abstract_Wallet(object):
ser = prevout_hash + ':%d'%prevout_n
if addr == "(pubkey)":
addr = self.find_pay_to_pubkey_address(prevout_hash, prevout_n)
- if addr:
- print_error("found pay-to-pubkey address:", addr)
- else:
- self.pruned_txo[ser] = tx_hash
# find value from prev output
if addr and self.is_mine(addr):
dd = self.txo.get(prevout_hash, {})