lnd: don't set freelist value when creating channeldb
This value actually isn't read anywhere, since it's no longer used. Instead, `cfg.Db.Bolt.NoSyncFreeList` is what's evaluated when we go to open the DB.
This commit is contained in:
parent
ec94532968
commit
675c1b95c9
1
lnd.go
1
lnd.go
@ -269,7 +269,6 @@ func Main(cfg *Config, lisCfg ListenerCfg, shutdownChan <-chan struct{}) error {
|
||||
chanDbBackend,
|
||||
channeldb.OptionSetRejectCacheSize(cfg.Caches.RejectCacheSize),
|
||||
channeldb.OptionSetChannelCacheSize(cfg.Caches.ChannelCacheSize),
|
||||
channeldb.OptionSetSyncFreelist(cfg.SyncFreelist),
|
||||
channeldb.OptionDryRunMigration(cfg.DryRunMigration),
|
||||
)
|
||||
switch {
|
||||
|
Loading…
Reference in New Issue
Block a user