Skip to content

Commit

Permalink
resolve warning
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Sep 9, 2024
1 parent 08fcb76 commit 2c6ca13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm/solana-client/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl HttpProvider {

match serde_json::from_value::<ClientResponse>(request_result.clone()) {
Ok(response) => Ok(response),
Err(err) => {
Err(_err) => {
if let Ok(err) = serde_json::from_value::<ClientError>(request_result.clone()) {
Err(err)
} else {
Expand Down

0 comments on commit 2c6ca13

Please sign in to comment.