A U.S. district judge dismissed a lawsuit filed by ConsenSys against the U.S. Securities and Exchange Commission (SEC) on Thursday.