lnrpc: rename proportional fee rate on lnrpc
This field is incorrectly suffixed as "msat", when it is actually interpreted as the proportional fee rate. This is the value that we should be using because the sender will calculate proportional fees accordingly. This is a breaking change to the RPC, but on an experimental and unreleased API.
This commit is contained in:
5 files changed
+26
-24
No files matched your search
@@ -1250,9 +1250,9 @@ func parseBlindedPaymentParameters(ctx *cli.Context) (
|
||||
BaseFeeMsat: ctx.Uint64(
|
||||
blindedBaseFlag.Name,
|
||||
),
|
||||
ProportionalFeeMsat: ctx.Uint64(
|
||||
ProportionalFeeRate: uint32(ctx.Uint64(
|
||||
blindedPPMFlag.Name,
|
||||
),
|
||||
)),
|
||||
TotalCltvDelta: uint32(ctx.Uint64(
|
||||
blindedCLTVFlag.Name,
|
||||
)),
|
||||
|
||||
Reference in new issue
Block a user