GlassEaters/hydra

distributeAll always results in IncorrectOwner for NFT model

Closed this issue · 0 comments

Describe the bug
In both the GUI and the SDK, the ProcessDistributeNft program call always results in an IncorrectOwner error. In this CLI I've attempted to use distributeAll, distributeAllInstructions, and distributeNftMemberInstructions and each call results in an IncorrectOwner AnchorError.

To Reproduce

  1. Use the NFT membership model in the GUI
  2. Fund the Hydra account with tokens
  3. Hit the Hydra button and watch the JS console.

Expected behavior
The hydra button or the distributeAll command in the SDK should distribute tokens.