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

Function part_status

tests/test_closing.py:2587–2588  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2585
2586 # l2 can fail the trimmed HTLC upstream straight away, but not the live one.
2587 def part_status():
2588 return {p['partid']: p['status'] for p in l1.rpc.listsendpays(payment_hash=rhash)['payments']}
2589
2590 wait_for(lambda: 'failed' in part_status().values())
2591 assert part_status() == {1: 'failed', 2: 'pending'}

Calls 1

listsendpaysMethod · 0.80

Tested by

no test coverage detected