I feel that this type fallback should be in `hashTransactionForSignature`. Here type just get passed through. Also it's probably a good idea for `hashTransactionForSignature` to assert that type after the fallback is among the known types.