B is far more risky. 10Y treasuries is as safe as it gets.
Mining is a relatively new industry, with new regulations and bans every few months. Compass mining have a lot of capital held up and liquidity must be extremely difficult to manage.