mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +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,6 +69,7 @@ type initerState struct {
|
||||||
|
|
||||||
func newIniterState(disk ethdb.Database, noWait bool) *initerState {
|
func newIniterState(disk ethdb.Database, noWait bool) *initerState {
|
||||||
s := &initerState{
|
s := &initerState{
|
||||||
|
state: stateSyncing,
|
||||||
disk: disk,
|
disk: disk,
|
||||||
term: make(chan struct{}),
|
term: make(chan struct{}),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue