Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 8a35d88

Browse files
authored
fix logging example (#2427)
1 parent 5eadadd commit 8a35d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/c/src/logging/logging.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern uint64_t logging(SolParameters *params) {
2727
}
2828

2929
extern uint64_t entrypoint(const uint8_t *input) {
30-
SolAccountInfo accounts[0];
30+
SolAccountInfo accounts[1];
3131
SolParameters params = (SolParameters){.ka = accounts};
3232

3333
if (!sol_deserialize(input, &params, SOL_ARRAY_SIZE(accounts))) {

0 commit comments

Comments
 (0)