lnrpc+sweep: rename Force to Immediate for clarity
This commit is contained in:
9 files changed
+484
-435
No files matched your search
@@ -889,7 +889,7 @@ func (w *WalletKit) PendingSweeps(ctx context.Context,
|
||||
AmountSat: amountSat,
|
||||
SatPerVbyte: satPerVbyte,
|
||||
BroadcastAttempts: broadcastAttempts,
|
||||
Force: sweeperInput.Params.Force,
|
||||
Immediate: sweeperInput.Params.Immediate,
|
||||
}
|
||||
|
||||
feePref := sweeperInput.Params.Fee
|
||||
@@ -989,8 +989,8 @@ func (w *WalletKit) BumpFee(ctx context.Context,
|
||||
// being broadcast. If it is not aware of the input however,
|
||||
// lnwallet.ErrNotMine is returned.
|
||||
params := sweep.ParamsUpdate{
|
||||
Fee: feePreference,
|
||||
Force: in.Force,
|
||||
Fee: feePreference,
|
||||
Immediate: in.Immediate,
|
||||
}
|
||||
|
||||
_, err = w.cfg.Sweeper.UpdateParams(*op, params)
|
||||
@@ -1060,8 +1060,8 @@ func (w *WalletKit) BumpFee(ctx context.Context,
|
||||
)
|
||||
|
||||
sweepParams := sweep.Params{
|
||||
Fee: feePreference,
|
||||
Force: in.Force,
|
||||
Fee: feePreference,
|
||||
Immediate: in.Immediate,
|
||||
}
|
||||
if _, err = w.cfg.Sweeper.SweepInput(inp, sweepParams); err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in new issue
Block a user