mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
sweep: add new interface method Immediate
This prepares the following commit where we now let the fee bumpr decides whether to broadcast immediately or not.
This commit is contained in:
@@ -827,6 +827,7 @@ func (s *UtxoSweeper) sweep(set InputSet) error {
|
||||
DeliveryAddress: sweepAddr,
|
||||
MaxFeeRate: s.cfg.MaxFeeRate.FeePerKWeight(),
|
||||
StartingFeeRate: set.StartingFeeRate(),
|
||||
Immediate: set.Immediate(),
|
||||
// TODO(yy): pass the strategy here.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user