Skip to content

Commit 8ce8d87

Browse files
committed
removed context
1 parent 1e56cca commit 8ce8d87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ethereum-json-rpc-client/src/canister_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl<T: CanisterClient + Sync + 'static> Client for T {
4040
} else {
4141
client.query("http_request", (args,)).await
4242
}
43-
.context("failed to send RPC request");
43+
.map_err(anyhow::Error::from);
4444

4545
let http_response = match http_response {
4646
Ok(response) => response,

0 commit comments

Comments
 (0)