Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed Dec 30, 2024
1 parent 6b12161 commit a92924b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rusk-wallet/src/gql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ impl GraphQL {
let response = self
.query(&query)
.await
.map_err(|err| Error::ArchivalJsonError(err.to_string()))?;
.map_err(|err| Error::ArchiveJsonError(err.to_string()))?;

let response =
serde_json::from_slice::<FullMoonlightHistory>(&response)
.map_err(|err| Error::ArchivalJsonError(err.to_string()))?;
.map_err(|err| Error::ArchiveJsonError(err.to_string()))?;

Ok(response)
}
Expand Down

0 comments on commit a92924b

Please sign in to comment.