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

Function pay_with_sendpay

tests/test_pay.py:7107–7115  ·  view source on GitHub ↗
(invoice, route, groupid, partid)

Source from the content-addressed store, hash-verified

7105 route8 = l1.single_route(inv["payee"], "8000sat")
7106
7107 def pay_with_sendpay(invoice, route, groupid, partid):
7108 l1.rpc.sendpay(
7109 route=route,
7110 payment_hash=invoice["payment_hash"],
7111 payment_secret=invoice["payment_secret"],
7112 amount_msat=invoice["amount_msat"],
7113 groupid=groupid,
7114 partid=partid,
7115 )
7116
7117 def pay_with_sendonion(invoice, route, groupid, partid):
7118 blockheight = l1.rpc.getinfo()["blockheight"]

Callers 1

test_sendonion_sendpayFunction · 0.85

Calls 1

sendpayMethod · 0.80

Tested by

no test coverage detected