Skip to content

Commit c7a3019

Browse files
committed
lint
1 parent 26f191f commit c7a3019

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

multinode/node_lifecycle.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,10 @@ func (n *node[CHAIN_ID, HEAD, RPC]) outOfSyncLoop(syncIssues syncStatus) {
464464
if n.isRPCProxy {
465465
n.declareUnreachable()
466466
return
467-
} else {
468-
lggr.Criticalw("RPC endpoint is still out of sync, but there are no other available nodes. This RPC node will be forcibly moved back into the live pool in a degraded state", "syncIssues", syncIssues)
469-
n.declareInSync()
470-
return
471467
}
468+
lggr.Criticalw("RPC endpoint is still out of sync, but there are no other available nodes. This RPC node will be forcibly moved back into the live pool in a degraded state", "syncIssues", syncIssues)
469+
n.declareInSync()
470+
return
472471
}
473472
}
474473
case err := <-headsSub.Errors:

0 commit comments

Comments
 (0)