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

Function no_more_blocks

tests/test_misc.py:1495–1497  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

1493
1494 # Make l2 temporary blind for blocks > 107
1495 def no_more_blocks(req):
1496 return {"result": None,
1497 "error": {"code": -8, "message": "Block height out of range"}, "id": req['id']}
1498
1499 l2.daemon.rpcproxy.mock_rpc('getblockhash', no_more_blocks)
1500

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected