Skip to content

Commit ac50f90

Browse files
committed
Fix error type
1 parent 62596f4 commit ac50f90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/block_validator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,9 @@ def transient_error?(error)
575575
case error
576576
# L2 RPC network errors
577577
when SocketError, Errno::ECONNREFUSED, Errno::ECONNRESET,
578-
Net::OpenTimeout, Net::ReadTimeout, Net::TimeoutError
578+
Net::OpenTimeout, Net::ReadTimeout
579579
true
580-
# L2 RPC errors that might be transient
580+
# L2 RPC client errors that might be transient
581581
when EthRpcClient::HttpError, EthRpcClient::ApiError
582582
true
583583
else

0 commit comments

Comments
 (0)