Skip to content

Commit f236f45

Browse files
committed
Remove unnecessary whitespace character
Typically we do not put a whitespace character before a `:` when using explicit types.
1 parent 10034f8 commit f236f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blockdata/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ impl Transaction {
335335
script_pubkey: &Script,
336336
sighash_type: U,
337337
) -> Result<(), encode::Error> {
338-
let sighash_type : u32 = sighash_type.into();
338+
let sighash_type: u32 = sighash_type.into();
339339
assert!(input_index < self.input.len()); // Panic on OOB
340340

341341
let (sighash, anyone_can_pay) = EcdsaSigHashType::from_u32_consensus(sighash_type).split_anyonecanpay_flag();

0 commit comments

Comments
 (0)