git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4b74fae
)
fix wallet.is_change() method
author
ecdsa
<ecdsa@github>
Sat, 16 Mar 2013 16:51:58 +0000 (17:51 +0100)
committer
ecdsa
<ecdsa@github>
Sat, 16 Mar 2013 16:51:58 +0000 (17:51 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
0383e4a
..
9e3b519
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-178,8
+178,8
@@
class Wallet:
return address in self.addresses(True)
def is_change(self, address):
- #return address in self.change_addresses
- return False
+ acct, s = self.get_address_index(address)
+ return s[0] == 1
def get_master_public_key(self):
return self.sequences[0].master_public_key