mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
04f16489ee
commit
56281d4fa0
1 changed files with 3 additions and 2 deletions
|
|
@ -69,8 +69,9 @@ type initerState struct {
|
|||
|
||||
func newIniterState(disk ethdb.Database, noWait bool) *initerState {
|
||||
s := &initerState{
|
||||
disk: disk,
|
||||
term: make(chan struct{}),
|
||||
state: stateSyncing,
|
||||
disk: disk,
|
||||
term: make(chan struct{}),
|
||||
}
|
||||
go s.update(noWait)
|
||||
return s
|
||||
|
|
|
|||
Loading…
Reference in a new issue