The two potential candidates in the 2024 election have criticized central bank digital currencies as tools for financial surveillance.