A vote by the US Senate that passed legislation that would punish Beijing for alleged currency manipulation could set off a trade war between the two countries, China said Wednesday. "What the US Senate did planted a ticking time-bomb that may ignite a potential trade war between the world's two largest economies," China's official Xinhua news agency said in a commentary hours after the vote.