git://git.novaco.in
/
electrum-nvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix is_change
[electrum-nvc.git]
/
lib
/
wallet.py
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
0d55cec
..
fee23d3
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-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