forked from LBRYCommunity/lbry-sdk
fix getclaimsfortx in server
This commit is contained in:
parent
0dfb5e008d
commit
899b182811
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class LBCDaemon(Daemon):
|
||||||
@handles_errors
|
@handles_errors
|
||||||
async def getclaimsfortx(self, txid):
|
async def getclaimsfortx(self, txid):
|
||||||
'''Given a txid, returns the claims it make.'''
|
'''Given a txid, returns the claims it make.'''
|
||||||
return await self._send_single('getclaimsfortx', (txid,))
|
return await self._send_single('getclaimsfortx', (txid,)) or []
|
||||||
|
|
||||||
@handles_errors
|
@handles_errors
|
||||||
async def getnameproof(self, name, block_hash=None):
|
async def getnameproof(self, name, block_hash=None):
|
||||||
|
|
Loading…
Add table
Reference in a new issue