git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
042c659
)
don't use address_is_old in code that can be run offline (again)
author
ThomasV
<thomasv@gitorious>
Wed, 9 Jul 2014 16:38:59 +0000 (18:38 +0200)
committer
ThomasV
<thomasv@gitorious>
Wed, 9 Jul 2014 16:38:59 +0000 (18:38 +0200)
gui/qt/main_window.py
patch
|
blob
|
history
diff --git
a/gui/qt/main_window.py
b/gui/qt/main_window.py
index
c83a6f7
..
1715139
100644
(file)
--- a/
gui/qt/main_window.py
+++ b/
gui/qt/main_window.py
@@
-748,7
+748,7
@@
class ElectrumWindow(QMainWindow):
def new_receive_address(self):
domain = self.wallet.get_account_addresses(self.current_account, include_change=False)
for addr in domain:
- if not self.wallet.address_is_old(addr) and addr not in self.receive_requests.keys():
+ if not self.wallet.history.get(addr) and addr not in self.receive_requests.keys():
break
else:
if isinstance(self.wallet, Imported_Wallet):