1
0
This commit is contained in:
ThomasV
2012-03-24 13:15:23 +01:00
parent c24776ea5d
commit 70ef684718
2 changed files with 5 additions and 9 deletions

View File

@@ -37,7 +37,6 @@ class Interface:
#only asynchrnous
self.addresses_waiting_for_status = []
self.addresses_waiting_for_history = []
self.tx_event = threading.Event()
#json
self.message_id = 0
@@ -49,13 +48,6 @@ class Interface:
return self.responses.empty() and not ( self.addresses_waiting_for_status or self.addresses_waiting_for_history )
def send_tx(self, data):
self.tx_event.clear()
self.send([('transaction.broadcast', [data])])
self.tx_event.wait()
return self.tx_result
def queue_json_response(self, c):
#print repr(c)