From 95f87efd0ec1ca298056312571053e115e108c27 Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Mon, 15 Jul 2024 16:59:07 +0300 Subject: [PATCH] bless clippy Signed-off-by: onur-ozkan --- mm2src/coins/tendermint/tendermint_coin.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mm2src/coins/tendermint/tendermint_coin.rs b/mm2src/coins/tendermint/tendermint_coin.rs index 43bdc9bd3b9..8e1cb95bbad 100644 --- a/mm2src/coins/tendermint/tendermint_coin.rs +++ b/mm2src/coins/tendermint/tendermint_coin.rs @@ -1172,7 +1172,7 @@ impl TendermintCoin { memo: String, ) -> Result { if let Some(priv_key) = maybe_pk { - let tx_raw = self.any_to_signed_raw_tx(&priv_key, &account_info, message, fee, timeout_height, memo)?; + let tx_raw = self.any_to_signed_raw_tx(&priv_key, account_info, message, fee, timeout_height, memo)?; let tx_bytes = tx_raw.to_bytes()?; let hash = sha256(&tx_bytes); @@ -1182,9 +1182,9 @@ impl TendermintCoin { )) } else { let SerializedUnsignedTx { tx_json, .. } = if self.is_keplr_from_ledger { - self.any_to_legacy_amino_json(&account_info, message, fee, timeout_height, memo) + self.any_to_legacy_amino_json(account_info, message, fee, timeout_height, memo) } else { - self.any_to_serialized_sign_doc(&account_info, message, fee, timeout_height, memo) + self.any_to_serialized_sign_doc(account_info, message, fee, timeout_height, memo) }?; Ok(TransactionData::Unsigned(tx_json)) @@ -3277,10 +3277,10 @@ fn parse_expected_sequence_number(e: &str) -> MmResult