mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 09:04:22 +01:00
keysend: Set an error message if we abort due to missing TLV
This commit is contained in:
committed by
Rusty Russell
parent
60af8be5ba
commit
ad7f59f7a1
@@ -3049,7 +3049,7 @@ def test_keysend(node_factory):
|
||||
|
||||
# And finally try to send a keysend payment to l4, which doesn't
|
||||
# support it. It MUST fail.
|
||||
with pytest.raises(RpcError, match=r"Recipient [0-9a-f]{66} does not support keysend payments"):
|
||||
with pytest.raises(RpcError, match=r"Recipient [0-9a-f]{66} reported an invalid payload"):
|
||||
l3.rpc.keysend(l4.info['id'], amt)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user