From 71ee50f87c9785d46b30acc5351c423a125792fc Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Thu, 16 May 2024 23:28:14 +0800 Subject: [PATCH] lncli: add missing `SatPerVbyte` field in `bumpfee` cli --- cmd/lncli/walletrpc_active.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/cmd/lncli/walletrpc_active.go b/cmd/lncli/walletrpc_active.go index a79fc0065..bb808a7cd 100644 --- a/cmd/lncli/walletrpc_active.go +++ b/cmd/lncli/walletrpc_active.go @@ -287,10 +287,11 @@ func bumpFee(ctx *cli.Context) error { } resp, err := client.BumpFee(ctxc, &walletrpc.BumpFeeRequest{ - Outpoint: protoOutPoint, - TargetConf: uint32(ctx.Uint64("conf_target")), - Immediate: immediate, - Budget: ctx.Uint64("budget"), + Outpoint: protoOutPoint, + TargetConf: uint32(ctx.Uint64("conf_target")), + Immediate: immediate, + Budget: ctx.Uint64("budget"), + SatPerVbyte: ctx.Uint64("sat_per_vbyte"), }) if err != nil { return err @@ -487,10 +488,11 @@ func bumpForceCloseFee(ctx *cli.Context) error { resp, err := walletClient.BumpFee( ctxc, &walletrpc.BumpFeeRequest{ - Outpoint: sweep.Outpoint, - TargetConf: uint32(ctx.Uint64("conf_target")), - Budget: ctx.Uint64("budget"), - Immediate: ctx.Bool("immediate"), + Outpoint: sweep.Outpoint, + TargetConf: uint32(ctx.Uint64("conf_target")), + Budget: ctx.Uint64("budget"), + Immediate: ctx.Bool("immediate"), + SatPerVbyte: ctx.Uint64("sat_per_vbyte"), }) if err != nil { return err