The House of Representatives drew partisan lines in a vote to pass a Republican-led bill blocking a central bank digital currency.