Skip to content

Commit fa480cb

Browse files
committed
Remove stale comment in transaction decoding
This comment is stale now that we remove the old transition stuff.
1 parent 1a82c1f commit fa480cb

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)