Skip to content

Commit 64bea90

Browse files
authored
(fix) Change fortuna error code (#1848)
* (fix) Change fortuna error code * update * fortuna update
1 parent 14b4170 commit 64bea90

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/fortuna/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/fortuna/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fortuna"
3-
version = "6.5.2"
3+
version = "6.5.3"
44
edition = "2021"
55

66
[dependencies]

apps/fortuna/src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl IntoResponse for RestError {
145145
}
146146
RestError::NoPendingRequest => (
147147
StatusCode::FORBIDDEN,
148-
"The random value cannot currently be retrieved",
148+
"The request with the given sequence number has not been made yet, or the random value has already been revealed on chain.",
149149
).into_response(),
150150
RestError::PendingConfirmation => (
151151
StatusCode::FORBIDDEN,

0 commit comments

Comments
 (0)