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
|
||||
async def getclaimsfortx(self, txid):
|
||||
'''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
|
||||
async def getnameproof(self, name, block_hash=None):
|
||||
|
|
Loading…
Reference in a new issue