Missing destructor for resource field

Hi, I am getting this error which I don’t quite understand what that means.

The code is on Account 0x03

I think I figured out myself. Adding destroy removed the error.

    destroy() {
        destroy self.xVault
        destroy self.yVault
    }

Here is reference

2 Likes