proto.btc.tx.status: fix mempool status check for BCH
This commit is contained in:
parent
fe040c0688
commit
a33dea177d
1 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,8 @@ class Status(TxBase.Status):
|
|||
|
||||
async def is_in_mempool():
|
||||
try:
|
||||
return 'height' in await tx.rpc.call('getmempoolentry',tx.coin_txid)
|
||||
await tx.rpc.call('getmempoolentry',tx.coin_txid)
|
||||
return True
|
||||
except:
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue