mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-05-02 03:02:54 -04:00
Clear Run Error in Powchain Service Upon Reconnect (#4671)
* clear the run err on reconnect * Merge refs/heads/master into clear-err-on-reconnect * nishant feedback
This commit is contained in:
committed by
prylabs-bulldozer[bot]
parent
e2be2a21d0
commit
439a84fcb9
@@ -590,6 +590,7 @@ func (s *Service) run(done <-chan struct{}) {
|
||||
s.runError = err
|
||||
return
|
||||
}
|
||||
s.runError = nil
|
||||
case header, ok := <-s.headerChan:
|
||||
if ok {
|
||||
s.processSubscribedHeaders(header)
|
||||
|
||||
Reference in New Issue
Block a user