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

@@ -101,7 +101,7 @@ class Commands:
def getaddresshistory(self, addr):
h = self.wallet.get_history(addr)
if h is None: h = self.wallet.interface.synchronous_get([ ('blockchain.address.get_history',[addr]) ])[0]
if h is None: h = self.network.synchronous_get([ ('blockchain.address.get_history',[addr]) ])[0]
return h
def listunspent(self):