Skip to content

Commit

Permalink
Update rpc-client-api/src/custom_error.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Trent Nelson <[email protected]>
  • Loading branch information
Tyera and t-nelson authored Aug 28, 2024
1 parent cc41db2 commit 8beaa85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc-client-api/src/custom_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ impl From<RpcCustomError> for Error {
code: ErrorCode::ServerError(JSON_RPC_SERVER_ERROR_SLOT_NOT_EPOCH_BOUNDARY),
message: format!(
"Rewards cannot be found because slot {slot} is not the epoch boundary. This \
may be due to gap in ledger or long-term storage"
may be due to gap in the queried node's local ledger or long-term storage"
),
data: None,
},
Expand Down

0 comments on commit 8beaa85

Please sign in to comment.