fix: catch up to sol_deserialize() signature change

This commit is contained in:
Michael Vines 2018-11-14 10:30:52 -08:00
parent 921ae797d8
commit 5311ed7f68
2 changed files with 4 additions and 2 deletions

View File

@ -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.