1
0

new command: getrawtransaction

This commit is contained in:
thomasv
2013-09-15 11:19:48 +02:00
parent 41878dc5e0
commit b75f8d795a
5 changed files with 11 additions and 7 deletions

View File

@@ -182,7 +182,8 @@ class Network(threading.Thread):
def retrieve_transaction(self, tx_hash, tx_height=0):
import transaction
r = self.interface.synchronous_get([ ('blockchain.transaction.get',[tx_hash, tx_height]) ])[0]
return transaction.Transaction(r)
if r:
return transaction.Transaction(r)
def parse_servers(self, result):