Align C and Rust handling of AccountInfos (#8906)

This commit is contained in:
Jack May
2020-03-17 12:34:14 -07:00
committed by GitHub
parent 61514e3b0e
commit 668dfc40c7
2 changed files with 18 additions and 3 deletions

View File

@ -9,7 +9,7 @@
*/
extern uint64_t entrypoint(const uint8_t *input) {
SolKeyedAccount ka[4];
SolKeyedAccount ka[1];
SolParameters params = (SolParameters) { .ka = ka };
if (!sol_deserialize(input, &params, SOL_ARRAY_SIZE(ka))) {