Skip to content

Commit ca31d61

Browse files
committed
proto/types: remove an & to placate 1.65 clippy
1 parent f4f39ef commit ca31d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/proto/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ impl SigningTx {
158158
/// Sign a transaction using [`SignedTxData`].
159159
pub fn sign(self, keypair: &common::SecretKey) -> Self {
160160
let to_sign = self.hash();
161-
let sig = common::SigScheme::sign(keypair, &to_sign);
161+
let sig = common::SigScheme::sign(keypair, to_sign);
162162
let signed = SignedTxData {
163163
data: self.data,
164164
sig,

0 commit comments

Comments
 (0)