Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Sep 18, 2024
1 parent 2cdce53 commit 32a601c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion staker/rollup_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ func looksLikeNoNodeError(err error) bool {
if strings.Contains(err.Error(), noNodeErr) {
return true
}
errWithData, ok := err.(rpc.DataError)
var errWithData rpc.DataError
ok := errors.As(err, &errWithData)
if !ok {
return false
}
Expand Down

0 comments on commit 32a601c

Please sign in to comment.