Quantcast
Channel: Custom Program Error 0x0 When Running Test - Solana Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by david lampach for Custom Program Error 0x0 When Running Test

In join_game, why are you initializing the PDA again? Presumably this already exists after game is created?Pass it in as an account without the initialize? You should already know the PDA address at...

View Article



Custom Program Error 0x0 When Running Test

I've looked around and I see this is a common error that devs run into based on the fact that an account was already initialized. I'm just wondering how to fix it so that I can run tests without...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images