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

Function mock_getpeerinfo

tests/test_plugin.py:2266–2267  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

2264 }
2265
2266 def mock_getpeerinfo(r):
2267 return {"id": r["id"], "result": [{"id": 1, "services": "000000000000040d"}]}
2268
2269 def mock_getblockfrompeer(r):
2270 nonlocal getblockfrompeer_count

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected