Instead, SegWit was primarily designed to resolve a long -
standing issue within the Bitcoin network known as
transaction malleability, where a bug in the way a
transaction's identifier (txid) was calculated meant that small modifications to an
unconfirmed transaction would change its txid, but not its content.