We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6309503 commit e1eb589Copy full SHA for e1eb589
tests/test_pay.py
@@ -4514,7 +4514,7 @@ def test_fetchinvoice(node_factory, bitcoind):
4514
# If no amount is specified in offer, one must be in invoice.
4515
offer_noamount = l3.rpc.call('offer', {'amount': 'any',
4516
'description': 'any amount test'})
4517
- with pytest.raises(RpcError, match="msatoshi parameter required"):
+ with pytest.raises(RpcError, match="amount_msat parameter required"):
4518
l1.rpc.call('fetchinvoice', {'offer': offer_noamount['bolt12']})
4519
inv1 = l1.rpc.call('fetchinvoice', {'offer': offer_noamount['bolt12'], 'amount_msat': 100})
4520
# But amount won't appear in changes
0 commit comments