From a33dea177d046cf226b124deee477ee2f5400261 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Thu, 29 Feb 2024 13:34:03 +0000 Subject: [PATCH] proto.btc.tx.status: fix mempool status check for BCH --- mmgen/proto/btc/tx/status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mmgen/proto/btc/tx/status.py b/mmgen/proto/btc/tx/status.py index 7cf82365..482975ed 100755 --- a/mmgen/proto/btc/tx/status.py +++ b/mmgen/proto/btc/tx/status.py @@ -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