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

Function test_pay_invstring

tests/test_pay.py:87–92  ·  view source on GitHub ↗
(node_factory)

Source from the content-addressed store, hash-verified

85
86
87def test_pay_invstring(node_factory):
88 l1, l2 = node_factory.line_graph(2, opts={'allow-deprecated-apis': True})
89
90 l1.rpc.check_request_schemas = False
91 inv = l2.rpc.invoice(123000, 'test_pay_invstring', 'description')['bolt11']
92 l1.rpc.call('pay', {'invstring': inv})
93
94
95def test_pay_amounts(node_factory):

Callers

nothing calls this directly

Calls 3

line_graphMethod · 0.80
invoiceMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected