mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
This commit is contained in:
parent
23acecf6d8
commit
aee1bd3083
1 changed files with 3 additions and 1 deletions
|
|
@ -372,8 +372,10 @@ func (s *Service) loop(chainHeadCh chan core.ChainHeadEvent, txEventCh chan core
|
|||
}
|
||||
}
|
||||
fullReport.Stop()
|
||||
// Make sure the connection is closed
|
||||
|
||||
// Close the current connection and establish a new one
|
||||
conn.Close()
|
||||
errTimer.Reset(0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue