proto.btc.tx.status: fix mempool status check for BCH

This commit is contained in:
The MMGen Project 2024-02-29 13:34:03 +00:00
commit a33dea177d
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -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