From 3e21295b884e56ef11197d7476da9847ec7ef984 Mon Sep 17 00:00:00 2001 From: Tobin Harding Date: Tue, 8 Mar 2022 16:43:07 +1100 Subject: [PATCH] Remove unnecessary whitespace character Typically we do not put a whitespace character before a `:` when using explicit types. --- src/blockdata/transaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockdata/transaction.rs b/src/blockdata/transaction.rs index 0f7a1624..6fc26205 100644 --- a/src/blockdata/transaction.rs +++ b/src/blockdata/transaction.rs @@ -335,7 +335,7 @@ impl Transaction { script_pubkey: &Script, sighash_type: U, ) -> Result<(), encode::Error> { - let sighash_type : u32 = sighash_type.into(); + let sighash_type: u32 = sighash_type.into(); assert!(input_index < self.input.len()); // Panic on OOB let (sighash, anyone_can_pay) = EcdsaSigHashType::from_u32_consensus(sighash_type).split_anyonecanpay_flag();