Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ pay
Function
pay
tests/test_pay.py:4221–4222 ·
view source on GitHub ↗
(l1, inv)
Source
from the content-addressed store, hash-verified
4219
4220
# Have l1 pay l3
4221
def
pay(l1, inv):
4222
l1.dev_pay(inv, dev_use_shadow=False)
4223
fut = executor.submit(pay, l1, inv)
4224
4225
# Make sure l1 sends out the HTLC.
Callers
nothing calls this directly
Calls
1
dev_pay
Method · 0.45
Tested by
no test coverage detected