diff --git a/common/src/transaction/ethereum/signer.rs b/common/src/transaction/ethereum/signer.rs index 4130ffc6..68a288e9 100644 --- a/common/src/transaction/ethereum/signer.rs +++ b/common/src/transaction/ethereum/signer.rs @@ -34,7 +34,11 @@ impl EthSigner { pub fn eth_sign_insecure(&self, hash: &str) -> Result { let hash = hash.strip_prefix("0x").unwrap_or(hash); let hash = H256::from_str(hash).map_err(|_| EthError::HexConversion)?; - let signature = self.wallet.sign_hash(hash).map_err(|_| EthError::SignatureError)?.to_string(); + let signature = self + .wallet + .sign_hash(hash) + .map_err(|_| EthError::SignatureError)? + .to_string(); Ok(format!("0x{signature}")) }