Skip to content

Commit

Permalink
(fix) Change fortuna error code (#1848)
Browse files Browse the repository at this point in the history
* (fix) Change fortuna error code

* update

* fortuna update
  • Loading branch information
aditya520 authored Aug 27, 2024
1 parent 14b4170 commit 64bea90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/fortuna/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/fortuna/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fortuna"
version = "6.5.2"
version = "6.5.3"
edition = "2021"

[dependencies]
Expand Down
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 yet, or the random value has already been revealed on chain.",
).into_response(),
RestError::PendingConfirmation => (
StatusCode::FORBIDDEN,
Expand Down

0 comments on commit 64bea90

Please sign in to comment.