mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-05 10:32:20 +00:00
Update beacon_node/lighthouse_network/src/rpc/methods.rs
This commit is contained in:
parent
b658cc7aaf
commit
5b4cd997d0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user