diff --git a/Cargo.lock b/Cargo.lock index 94880644..0f417b53 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8990,7 +8990,6 @@ dependencies = [ "async-stream", "base64 0.22.1", "borsh", - "bytemuck", "clap", "common", "env_logger", diff --git a/nssa/src/privacy_preserving_transaction/message.rs b/nssa/src/privacy_preserving_transaction/message.rs index 6a6bdbb1..844e746a 100644 --- a/nssa/src/privacy_preserving_transaction/message.rs +++ b/nssa/src/privacy_preserving_transaction/message.rs @@ -70,7 +70,10 @@ impl std::fmt::Debug for Message { .field("public_account_ids", &self.public_account_ids) .field("nonces", &self.nonces) .field("public_post_states", &self.public_post_states) - .field("encrypted_private_post_states", &self.encrypted_private_post_states) + .field( + "encrypted_private_post_states", + &self.encrypted_private_post_states, + ) .field("new_commitments", &self.new_commitments) .field("new_nullifiers", &nullifiers) .finish() diff --git a/nssa/src/public_transaction/message.rs b/nssa/src/public_transaction/message.rs index 49823631..776151cf 100644 --- a/nssa/src/public_transaction/message.rs +++ b/nssa/src/public_transaction/message.rs @@ -18,7 +18,10 @@ pub struct Message { impl std::fmt::Debug for Message { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { let program_id_hex = hex::encode( - self.program_id.iter().flat_map(|n| n.to_le_bytes()).collect::>(), + self.program_id + .iter() + .flat_map(|n| n.to_le_bytes()) + .collect::>(), ); f.debug_struct("Message") .field("program_id", &program_id_hex) diff --git a/wallet/Cargo.toml b/wallet/Cargo.toml index 511c20e1..95918e4b 100644 --- a/wallet/Cargo.toml +++ b/wallet/Cargo.toml @@ -22,7 +22,6 @@ humantime.workspace = true tokio = { workspace = true, features = ["macros"] } clap.workspace = true base64.workspace = true -bytemuck.workspace = true borsh.workspace = true hex.workspace = true rand.workspace = true