Skip to content

Commit

Permalink
fix: fix multiDatabase flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjunLi committed Nov 18, 2024
1 parent b5f1531 commit 7523a64
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/rawdb/chain_freezer.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ func newChainFreezer(datadir string, namespace string, readonly bool, offset uin
return nil, err
}
cf := chainFreezer{
Freezer: freezer,
quit: make(chan struct{}),
trigger: make(chan chan struct{}),
Freezer: freezer,
quit: make(chan struct{}),
trigger: make(chan chan struct{}),
multiDatabase: multiDatabase,
}
cf.threshold.Store(params.FullImmutabilityThreshold)
return &cf, nil
Expand Down

0 comments on commit 7523a64

Please sign in to comment.