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

Function no_more_blocks

tests/test_pay.py:4208–4210  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

4206
4207 # Now make the l1 payer stop receiving blocks.
4208 def no_more_blocks(req):
4209 return {"result": None,
4210 "error": {"code": -8, "message": "Block height out of range"}, "id": req['id']}
4211 l1.daemon.rpcproxy.mock_rpc('getblockhash', no_more_blocks)
4212
4213 # Increase blockheight by 2, like in test_blockheight_disagreement.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected