`hashTransactionForSignature` uses `type`, but the resulting signature also needs it for concatenation.