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

Function crash_bitcoincli

tests/test_misc.py:113–114  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

111 sync_blockheight(bitcoind, [l1])
112
113 def crash_bitcoincli(r):
114 return {'id': r['id'], 'result': 'not_a_valid_blockhash', 'error': None}
115
116 # This is not a JSON-RPC response by purpose.
117 l1.daemon.rpcproxy.mock_rpc('getblockhash', crash_bitcoincli)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected