mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-14 10:29:29 +02:00
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:
@@ -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