mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
Update skeleton.go
This commit is contained in:
parent
d89a19057c
commit
485008a02b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022 The go-ethereum Authors
|
// Copyright 2025 The go-ethereum Authors
|
||||||
// This file is part of the go-ethereum library.
|
// This file is part of the go-ethereum library.
|
||||||
//
|
//
|
||||||
// The go-ethereum library is free software: you can redistribute it and/or modify
|
// The go-ethereum library is free software: you can redistribute it and/or modify
|
||||||
|
|
@ -275,7 +275,7 @@ func (s *skeleton) startup() {
|
||||||
for {
|
for {
|
||||||
// If the sync cycle terminated or was terminated, propagate up when
|
// If the sync cycle terminated or was terminated, propagate up when
|
||||||
// higher layers request termination. There's no fancy explicit error
|
// higher layers request termination. There's no fancy explicit error
|
||||||
// signalling as the sync loop should never terminate (TM).
|
// signaling as the sync loop should never terminate (TM).
|
||||||
newhead, err := s.sync(head)
|
newhead, err := s.sync(head)
|
||||||
switch {
|
switch {
|
||||||
case err == errSyncLinked:
|
case err == errSyncLinked:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue