fix _get_transaction

This commit is contained in:
Alex Grintsvayg 2017-03-21 12:10:48 -04:00
parent c1a5806bc0
commit f515583ec4
2 changed files with 4 additions and 1 deletions

View file

@ -23,7 +23,7 @@ at anytime.
* Fixed jsonrpc_reflect()
* Fixed api help return
* Fixed API command descriptor_get
*
* Fixed API command transaction_show
*
*

View file

@ -1004,6 +1004,9 @@ class LBRYumWallet(Wallet):
header = self.network.blockchain.read_header(height)
return defer.succeed(self.network.blockchain.hash_header(header))
def _get_transaction(self, txid):
return self._run_cmd_as_defer_to_thread("gettransaction", txid)
def get_name_claims(self):
return self._run_cmd_as_defer_succeed('getnameclaims')