mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
node: prefer nil slices over zero-length slices (#19083)
This commit is contained in:
parent
4cb240981e
commit
ef8fa666d3
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ func (n *Node) Start() error {
|
|||
return convertFileLockError(err)
|
||||
}
|
||||
// Start each of the services
|
||||
started := []reflect.Type{}
|
||||
var started []reflect.Type
|
||||
for kind, service := range services {
|
||||
// Start the next service, stopping all previous upon failure
|
||||
if err := service.Start(running); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue