Skip to content

Commit

Permalink
Merge pull request #1437 from soulbless/main
Browse files Browse the repository at this point in the history
Update warning text when routing budget is not sufficient.
  • Loading branch information
KoalaSat authored Sep 6, 2024
2 parents e0bd103 + bd44f0f commit 20f624d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/lightning/cln.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def validate_ln_invoice(cls, invoice, num_satoshis, routing_budget_ppm):
# If the cheapest possible private route is more expensive than what RoboSats is willing to pay
if min(routes_cost) >= max_routing_fee_sats:
payout["context"] = {
"bad_invoice": "The invoice hinted private routes are not payable within the submitted routing budget."
"bad_invoice": "The invoice hinted private routes are not payable within the submitted routing budget. This can be adjusted with Advanced Options enabled."
}
return payout

Expand Down
2 changes: 1 addition & 1 deletion api/lightning/lnd.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def validate_ln_invoice(cls, invoice, num_satoshis, routing_budget_ppm):
# If the cheapest possible private route is more expensive than what RoboSats is willing to pay
if min(routes_cost) >= max_routing_fee_sats:
payout["context"] = {
"bad_invoice": "The invoice hinted private routes are not payable within the submitted routing budget."
"bad_invoice": "The invoice hinted private routes are not payable within the submitted routing budget. This can be adjusted with Advanced Options enabled."
}
return payout

Expand Down

0 comments on commit 20f624d

Please sign in to comment.