mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-02 11:09:38 +02:00
walletrpc: pass Force
flag when sweeping via BumpFee
This commit is contained in:
parent
d8f976f8fc
commit
558d9bd3ce
@ -1050,7 +1050,10 @@ func (w *WalletKit) BumpFee(ctx context.Context,
|
|||||||
op, witnessType, signDesc, uint32(currentHeight),
|
op, witnessType, signDesc, uint32(currentHeight),
|
||||||
)
|
)
|
||||||
|
|
||||||
sweepParams := sweep.Params{Fee: feePreference}
|
sweepParams := sweep.Params{
|
||||||
|
Fee: feePreference,
|
||||||
|
Force: in.Force,
|
||||||
|
}
|
||||||
if _, err = w.cfg.Sweeper.SweepInput(inp, sweepParams); err != nil {
|
if _, err = w.cfg.Sweeper.SweepInput(inp, sweepParams); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user