fix logging example (#2427)

This commit is contained in:
Jack May 2021-09-17 12:35:32 -07:00 committed by GitHub
parent 5eadaddf3a
commit 8a35d88a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ extern uint64_t logging(SolParameters *params) {
}
extern uint64_t entrypoint(const uint8_t *input) {
SolAccountInfo accounts[0];
SolAccountInfo accounts[1];
SolParameters params = (SolParameters){.ka = accounts};
if (!sol_deserialize(input, &params, SOL_ARRAY_SIZE(accounts))) {