From b5beab872f22fe5c4a39d5eb755a158c591e5783 Mon Sep 17 00:00:00 2001 From: Satoshi Otomakan Date: Thu, 25 Jan 2024 13:47:33 +0700 Subject: [PATCH] feat(ZetaChain): Fix rustfmt --- .../tw_cosmos_sdk/src/modules/compiler/protobuf_preimager.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rust/tw_cosmos_sdk/src/modules/compiler/protobuf_preimager.rs b/rust/tw_cosmos_sdk/src/modules/compiler/protobuf_preimager.rs index 06e5d2e7621..dc82a15920a 100644 --- a/rust/tw_cosmos_sdk/src/modules/compiler/protobuf_preimager.rs +++ b/rust/tw_cosmos_sdk/src/modules/compiler/protobuf_preimager.rs @@ -35,7 +35,10 @@ impl ProtobufPreimager { }) } - pub fn preimage_hash_direct(args: &SignDirectArgs, hasher: Hasher) -> SigningResult { + pub fn preimage_hash_direct( + args: &SignDirectArgs, + hasher: Hasher, + ) -> SigningResult { let tx_to_sign = ProtobufSerializer::::build_direct_sign_doc(args); let encoded_tx = serialize(&tx_to_sign)?; let tx_hash = hasher.hash(&encoded_tx);