Skip to content

Commit d819f08

Browse files
committed
Merge rust-bitcoin#5134: Remove stale comment in transaction decoding
fa480cb Remove stale comment in transaction decoding (Tobin C. Harding) Pull request description: This comment is stale now that we remove the old transition stuff. ACKs for top commit: apoelstra: ACK fa480cb; successfully ran local tests Tree-SHA512: bab1b1b9dc95de2dc6c7e0c6860222c94acf3adcad3d314f3ee615ef602854fe5c568a4b1c6e3eea808217c3ac46cb59809a6cbfab0aaab3e7f2787cec1bfa7c
2 parents 6d64b70 + fa480cb commit d819f08

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

primitives/src/transaction.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,6 @@ impl Decoder for TransactionDecoder {
464464
self.state = State::Inputs(version, Attempt::Second, VecDecoder::<TxIn>::new());
465465
}
466466
State::Outputs(version, inputs, is_segwit, decoder) => {
467-
// We get the inputs vector here instead of in the pattern match because I
468-
// couldn't find another way to get it out of behind the mutable reference.
469467
let outputs = decoder.end()?;
470468
if is_segwit == IsSegwit::Yes {
471469
self.state = State::Witnesses(

0 commit comments

Comments
 (0)