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

Function direction

tests/test_pay.py:6903–6904  ·  view source on GitHub ↗
(node1, node2)

Source from the content-addressed store, hash-verified

6901 To do that we need to enable strict-forwarding."""
6902
6903 def direction(node1, node2):
6904 return 0 if node1.info["id"] < node2.info["id"] else 1
6905
6906 def get_local_channel_by_id(node, chanid):
6907 peerchannels = node.rpc.listpeerchannels()["channels"]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected