It absolutely matter where the money came from. If you server the public money flow must be completely transparent if you want to prevent corruption, no matter if you do legislature, executive, or judiciary work. That is part of serving the public, and if one does not like that, they're free to not work in the government.