Remove unnecessary whitespace character

Typically we do not put a whitespace character before a `:` when using
explicit types.
This commit is contained in:
Tobin Harding 2022-03-08 16:43:07 +11:00
parent efa9555ebd
commit 3e21295b88
1 changed files with 1 additions and 1 deletions

View File

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