In prepareTransactionForSigning we always return hashesToSign for what is passed to the sign function, regardless of the curve. In fact this is only true for secp256k1, where the hashes are actually what is passed to the mpc and signed, for ed25519 it is the message bytes that is signed thus calling these the hashesToSign is incorrect. We should just refer to this as the paylaod
In prepareTransactionForSigning we always return hashesToSign for what is passed to the sign function, regardless of the curve. In fact this is only true for secp256k1, where the hashes are actually what is passed to the mpc and signed, for ed25519 it is the message bytes that is signed thus calling these the hashesToSign is incorrect. We should just refer to this as the paylaod