Since Core now got rid of CTxWitness in bitcoin/bitcoin#8589, it might make sense to at least provide a 'compatible' accessor to be able refer to tx.wit.vtxwinwit[i].scriptWitness via tx.vin[i].scriptWitness.
But we need to retain CTxWitness and old way of tx.wit.... to not break any existing code
Since Core now got rid of
CTxWitnessin bitcoin/bitcoin#8589, it might make sense to at least provide a 'compatible' accessor to be able refer totx.wit.vtxwinwit[i].scriptWitnessviatx.vin[i].scriptWitness.But we need to retain
CTxWitnessand old way oftx.wit....to not break any existing code