mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-06 02:58:03 +02:00
lnd: start using BudgetAggregator
This commit is contained in:
parent
54ade99ce2
commit
c44b8a4b45
@ -1063,9 +1063,8 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
aggregator := sweep.NewSimpleUtxoAggregator(
|
||||
cc.FeeEstimator, cfg.Sweeper.MaxFeeRate.FeePerKWeight(),
|
||||
sweep.DefaultMaxInputsPerTx,
|
||||
aggregator := sweep.NewBudgetAggregator(
|
||||
cc.FeeEstimator, sweep.DefaultMaxInputsPerTx,
|
||||
)
|
||||
|
||||
s.txPublisher = sweep.NewTxPublisher(sweep.TxPublisherConfig{
|
||||
|
Loading…
x
Reference in New Issue
Block a user