Prank from devs or bug?

Hi, I wanted to spend my energy on battles to complete the daily quest. I spent 100 on hard battle and was trying to spend the rest on another hard battle but there was a problem with my Wi-Fi and after a while I received a message saying I don't have enough tickets or energy which was not true. Well, I decided to leave it for now, open a Data Card and skip the animation as always but I noticed that I've received... -40 energy and something else, one of the currencies, I think. After returning to main room, 40 points of my energy were gone. So, was that supposed to happen? I don't know what to think...