1
0

Merge the network and network_proxy

This commit is contained in:
Neil Booth
2015-08-30 21:18:10 +09:00
parent 4d6a0f29ee
commit 2d05e7d891
14 changed files with 158 additions and 319 deletions

View File

@@ -2357,7 +2357,7 @@ class ElectrumWindow(QMainWindow):
txid, ok = QInputDialog.getText(self, _('Lookup transaction'), _('Transaction ID') + ':')
if ok and txid:
try:
r = self.network.synchronous_get([('blockchain.transaction.get',[str(txid)])])[0]
r = self.network.synchronous_get(('blockchain.transaction.get',[str(txid)]))
except BaseException as e:
self.show_message(str(e))
return