Skip to content

Commit

Permalink
(fix) Change fortuna error code
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya520 committed Aug 26, 2024
1 parent 795a84e commit 84f9208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/fortuna/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ impl IntoResponse for RestError {
}
RestError::NoPendingRequest => (
StatusCode::FORBIDDEN,
"The random value cannot currently be retrieved",
"The request with the given sequence number has not been made or the random value has already been revealed on chain.",
).into_response(),
RestError::PendingConfirmation => (
StatusCode::FORBIDDEN,
Expand Down

0 comments on commit 84f9208

Please sign in to comment.