Basically the programs did mine cryptocurrency when the app was launched but Canonical pulled it from the Snap Store because the author of the application did not disclose it.

Canonical also said that mining cryptocurrency is not illegal, nor unethical, so the only thing the publisher did wrong is not to inform users about his snap apps mining for cryptocurrency in the background.