Commit Graph

2 Commits

Author SHA1 Message Date
Christian Machacek 18d96ffce6 Fix cross-program-invocation C example
Correctly check if deriving the PDA with the given seed was successful.
Don't pass the system program pubkey to the allocate instruction: the first account passed must be the one to be allocated.
2021-05-08 09:58:39 -07:00
Jack May 686c12984b
Add c examples (#823) 2020-11-11 00:54:15 -08:00