Browse Source

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

The MMGen Project 1 year ago
parent
commit
a33dea177d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mmgen/proto/btc/tx/status.py

+ 2 - 1
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