(r)
| 2267 | return {"id": r["id"], "result": [{"id": 1, "services": "000000000000040d"}]} |
| 2268 | |
| 2269 | def mock_getblockfrompeer(r): |
| 2270 | nonlocal getblockfrompeer_count |
| 2271 | getblockfrompeer_count += 1 |
| 2272 | return {"id": r["id"], "result": {}} |
| 2273 | |
| 2274 | l1 = node_factory.get_node(start=False) |
| 2275 | l1.daemon.rpcproxy.mock_rpc("getblock", mock_getblock) |
nothing calls this directly
no outgoing calls
no test coverage detected