ZIP 244 is only defined for v5 transactions, so use the TransactionV5 type directly; likewise use LegacyTransaction with the ZIP 143 and ZIP 243 APIs.
These were leftover from an earlier version of the PR. Co-authored-by: ying tong <yingtong@z.cash>