fix: catch up to sol_deserialize() signature change
This commit is contained in:
parent
921ae797d8
commit
5311ed7f68
|
@ -10,12 +10,14 @@ extern bool entrypoint(const uint8_t *input) {
|
|||
uint64_t ka_len;
|
||||
const uint8_t *data;
|
||||
uint64_t data_len;
|
||||
SolClusterInfo info;
|
||||
|
||||
sol_log("Hello World");
|
||||
|
||||
if (!sol_deserialize(input, ka, SOL_ARRAY_SIZE(ka), &ka_len, &data, &data_len)) {
|
||||
if (!sol_deserialize(input, ka, SOL_ARRAY_SIZE(ka), &ka_len, &data, &data_len, &info)) {
|
||||
return false;
|
||||
}
|
||||
sol_log_params(ka_len, ka, data, data_len);
|
||||
sol_log_64(info.tick_height, 0, 0, 0, 0);
|
||||
sol_log_params(ka, ka_len, data, data_len);
|
||||
return true;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue