1
0

move synchronous_get to network.py, fix get_balance script

This commit is contained in:
ThomasV
2013-10-03 10:05:01 +02:00
parent f93bc5951c
commit 7a5016ec42
5 changed files with 31 additions and 30 deletions

View File

@@ -1374,7 +1374,7 @@ class Wallet:
# assert not self.is_mine(_addr)
ext_requests.append( ('blockchain.address.get_history', [_addr]) )
ext_h = self.network.interface.synchronous_get(ext_requests)
ext_h = self.network.synchronous_get(ext_requests)
print_error("sync:", ext_requests, ext_h)
height = None
for h in ext_h: