How Did SegWit Resolve Transaction Malleability?
SegWit resolved malleability by removing the 'witness' (signature) data, which was the malleable part, from the data used to calculate the TXID. The signature data is now segregated, meaning a third party can no longer alter it and change the TXID without invalidating the signature.