Skip to content

Commit e1eb589

Browse files
vincenzopalazzorustyrussell
authored andcommitted
tests: fix the err msg check
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 6309503 commit e1eb589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4514,7 +4514,7 @@ def test_fetchinvoice(node_factory, bitcoind):
45144514
# If no amount is specified in offer, one must be in invoice.
45154515
offer_noamount = l3.rpc.call('offer', {'amount': 'any',
45164516
'description': 'any amount test'})
4517-
with pytest.raises(RpcError, match="msatoshi parameter required"):
4517+
with pytest.raises(RpcError, match="amount_msat parameter required"):
45184518
l1.rpc.call('fetchinvoice', {'offer': offer_noamount['bolt12']})
45194519
inv1 = l1.rpc.call('fetchinvoice', {'offer': offer_noamount['bolt12'], 'amount_msat': 100})
45204520
# But amount won't appear in changes

0 commit comments

Comments
 (0)