diff --git a/src/blockdata/transaction.rs b/src/blockdata/transaction.rs index a0b28d29..4df2b3bd 100644 --- a/src/blockdata/transaction.rs +++ b/src/blockdata/transaction.rs @@ -399,15 +399,6 @@ impl Decodable for Transaction { if input.is_empty() { let segwit_flag: u8 = Decodable::consensus_decode(d)?; match segwit_flag { - // Empty tx - 0 => { - Ok(Transaction { - version: version, - input: input, - output: vec![], - lock_time: Decodable::consensus_decode(d)?, - }) - } // BIP144 input witnesses 1 => { let mut input: Vec = Decodable::consensus_decode(d)?;