mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 16:14:26 +01:00
invoice: return error string from invoice_check_payment.
Clean these up: they were debug logs, but we want to pass this information back for self-payments. Also fixes "Attept" typo which altered tests! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1916,7 +1916,7 @@ def test_replacement_payload(node_factory):
|
||||
with pytest.raises(RpcError, match=r"WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS \(reply from remote\)"):
|
||||
l1.rpc.pay(inv)
|
||||
|
||||
assert l2.daemon.wait_for_log("Attept to pay.*with wrong secret")
|
||||
assert l2.daemon.wait_for_log("Attempt to pay.*with wrong secret")
|
||||
|
||||
|
||||
@pytest.mark.developer("Requires dev_sign_last_tx")
|
||||
|
||||
Reference in New Issue
Block a user