Skip to content

Commit

Permalink
refactor: remove implicit deref
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov authored Dec 31, 2024
1 parent f5cbff9 commit 4022345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rs-sdk/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl From<DapiClientError> for Error {
return consensus_error_value
.to_bytes()
.map(|bytes| {
ConsensusError::deserialize_from_bytes(&*bytes)
ConsensusError::deserialize_from_bytes(&bytes)
.map(|consensus_error| {
Self::Protocol(ProtocolError::ConsensusError(Box::new(
consensus_error,
Expand Down

0 comments on commit 4022345

Please sign in to comment.