How legal changes affect investing in cryptocurrencies