Skip to content

Commit

Permalink
proto/types: remove an & to placate 1.65 clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
juped committed Nov 30, 2022
1 parent 57e41ae commit 7309e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/proto/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl SigningTx {
/// Sign a transaction using [`SignedTxData`].
pub fn sign(self, keypair: &common::SecretKey) -> Self {
let to_sign = self.hash();
let sig = common::SigScheme::sign(keypair, &to_sign);
let sig = common::SigScheme::sign(keypair, to_sign);
let signed = SignedTxData {
data: self.data,
sig,
Expand Down

0 comments on commit 7309e7e

Please sign in to comment.