Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
rjl493456442 2026-03-12 11:01:40 +08:00 committed by GitHub
parent 04f16489ee
commit 56281d4fa0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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