mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
pytest: Reproduce #4345
This commit is contained in:
parent
ce6da69cc3
commit
d2281f53df
@ -4132,3 +4132,14 @@ def test_sendinvoice(node_factory, bitcoind):
|
||||
|
||||
l1.rpc.call('sendinvoice', {'offer': refund,
|
||||
'label': 'test sendinvoice refund'})
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_self_pay(node_factory):
|
||||
"""Repro test for issue 4345: pay ourselves via the pay plugin.
|
||||
|
||||
"""
|
||||
l1, l2 = node_factory.line_graph(2, wait_for_announce=True)
|
||||
|
||||
inv = l1.rpc.invoice(10000, 'test', 'test')['bolt11']
|
||||
l1.rpc.pay(inv)
|
||||
|
Loading…
Reference in New Issue
Block a user