Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Nov 3, 2023
1 parent 66b36d3 commit b110bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/ws_client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl HandleMessage for SubscriptionHandler {
let value: serde_json::Value = serde_json::from_str(msg.as_text()?).map_err(Box::new)?;

if value["error"]["message"].is_string() {
let _ result.send(serde_json::to_string(&value["error"]).map_err(Box::new)?);
let _ = result.send(serde_json::to_string(&value["error"]).map_err(Box::new)?);
out.close(CloseCode::Normal)?;
return Ok(())
}
Expand Down

0 comments on commit b110bef

Please sign in to comment.