Skip to content

Commit

Permalink
fix: CLN invoice payment fee (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Dec 11, 2024
1 parent c05b54d commit 51e03ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lightning/cln/ClnClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ class ClnClient
const decoded = await this.decodeInvoice(invoice);
const maxFee = satToMsat(
calculatePaymentFee(
decoded.value,
satToMsat(decoded.value),
this.maxPaymentFeeRatio,
ClnClient.paymentMinFee,
),
Expand Down

0 comments on commit 51e03ca

Please sign in to comment.