Skip to content

Commit 7ba4a78

Browse files
authored
fix(explorer): reset counter when network is active (#3213)
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent f3357a1 commit 7ba4a78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/explorer/discovery.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ func (s *DiscoveryServer) runBackground() {
118118
s.networkState.Networks[token] = Network{
119119
Clusters: ledgerK,
120120
}
121+
delete(s.failures, token)
121122
s.Unlock()
122123
} else {
123124
s.failedToken(token)

0 commit comments

Comments
 (0)