Skip to content

Commit

Permalink
Fix clippy errors 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Dec 2, 2024
1 parent ad40303 commit 80fe712
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/relayer/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,17 @@ impl Serialize for EmailProof {
state.serialize_field("domainName", &self.domain_name)?;
state.serialize_field(
"publicKeyHash",
&format!("0x{}", hex::encode(&self.public_key_hash)),
&format!("0x{}", hex::encode(self.public_key_hash)),
)?;
state.serialize_field("timestamp", &self.timestamp.as_u64())?;
state.serialize_field("maskedCommand", &self.masked_command)?;
state.serialize_field(
"emailNullifier",
&format!("0x{}", hex::encode(&self.email_nullifier)),
&format!("0x{}", hex::encode(self.email_nullifier)),
)?;
state.serialize_field(
"accountSalt",
&format!("0x{}", hex::encode(&self.account_salt)),
&format!("0x{}", hex::encode(self.account_salt)),
)?;
state.serialize_field("isCodeExist", &self.is_code_exist)?;
state.serialize_field("proof", &format!("0x{}", hex::encode(&self.proof)))?;
Expand Down

0 comments on commit 80fe712

Please sign in to comment.