new command: getrawtransaction
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user