tfix is_change - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 7e0d4a28510c87352a9ca23c54e4ca5a022c31d7 (DIR) parent 87b94b3ccc4180a84e1f309ead65abd37eae3a9f (HTM) Author: ecdsa <ecdsa@github> Date: Sun, 17 Mar 2013 21:13:10 +0100 fix is_change Diffstat: M lib/wallet.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- (DIR) diff --git a/lib/wallet.py b/lib/wallet.py t@@ -177,6 +177,8 @@ class Wallet: return address in self.addresses(True) def is_change(self, address): + if not self.is_mine(address): return False + if address in self.imported_keys.keys(): return False acct, s = self.get_address_index(address) return s[0] == 1