fix another merge conflict

This commit is contained in:
Jack Robison 2022-01-21 15:54:58 -05:00
parent 493470681b
commit 87a9a27aad
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -489,8 +489,8 @@ class CommandTestCase(IntegrationTestCase):
async def confirm_tx(self, txid, ledger=None):
""" Wait for tx to be in mempool, then generate a block, wait for tx to be in a block. """
await self.on_transaction_id(txid, ledger)
on_tx = self.on_transaction_id(txid, ledger)
# await (ledger or self.ledger).on_transaction.where(lambda e: e.tx.id == txid)
on_tx = (ledger or self.ledger).on_transaction.where(lambda e: e.tx.id == txid)
await asyncio.wait([self.generate(1), on_tx], timeout=5)
# # actually, if it's in the mempool or in the block we're fine