MCPcopy Create free account
hub / github.com/ElementsProject/lightning / get_mempool_when_size_1

Function get_mempool_when_size_1

tests/test_closing.py:427–431  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425 mempool_tx_ids = None
426
427 def get_mempool_when_size_1():
428 nonlocal mempool, mempool_tx_ids
429 mempool = bitcoind.rpc.getrawmempool(True)
430 mempool_tx_ids = list(mempool.keys())
431 return len(mempool_tx_ids) == 1
432
433 wait_for(get_mempool_when_size_1)
434

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected