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();