mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Update beacon_node/lighthouse_network/src/rpc/methods.rs
This commit is contained in:
@@ -360,7 +360,7 @@ impl<T: EthSpec> RPCCodedResponse<T> {
|
||||
2 => RPCResponseErrorCode::ServerError,
|
||||
3 => RPCResponseErrorCode::ResourceUnavailable,
|
||||
139 => RPCResponseErrorCode::RateLimited,
|
||||
142 => RPCResponseErrorCode::BlobsNotFoundForBlock,
|
||||
140 => RPCResponseErrorCode::BlobsNotFoundForBlock,
|
||||
_ => RPCResponseErrorCode::Unknown,
|
||||
};
|
||||
RPCCodedResponse::Error(code, err)
|
||||
|
||||
Reference in New Issue
Block a user