Skip to content

Commit

Permalink
refactor: removed unnecessary printf
Browse files Browse the repository at this point in the history
  • Loading branch information
n4l5u0r committed Nov 28, 2021
1 parent 1f4b723 commit 717b9b0
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ APP_LOAD_PARAMS += --appFlags 0x800 --path "44'/60'" --path "45'" --curve secp25
APP_LOAD_PARAMS += $(COMMON_LOAD_PARAMS)

APPVERSION_M = 1
APPVERSION_N = 1
APPVERSION_P = 2
APPVERSION_N = 0
APPVERSION_P = 0
APPVERSION = $(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)

APPNAME = "Poap"
Expand Down
Binary file removed icons/nanos_app_paraswap.gif
Binary file not shown.
Binary file removed icons/nanox_app_paraswap.gif
Binary file not shown.
10 changes: 0 additions & 10 deletions node_modules/.yarn-integrity

This file was deleted.

3 changes: 0 additions & 3 deletions src/handle_init_contract.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ void handle_init_contract(void *parameters) {
}

if (msg->pluginContextLength < sizeof(context_t)) {
PRINTF("LOU: %d\n", sizeof(context_t));
PRINTF("LOU: %d\n", msg->pluginContextLength);
PRINTF("Plugin parameters structure is bigger than allowed size\n");
// msg->result = ETH_PLUGIN_RESULT_ERROR;
return;
Expand All @@ -24,7 +22,6 @@ void handle_init_contract(void *parameters) {
uint8_t i;
for (i = 0; i < NUM_SELECTORS; i++) {
if (memcmp((uint8_t *) PIC(POAP_SELECTORS[i]), msg->selector, SELECTOR_SIZE) == 0) {
PRINTF("LOU: %d\n", context->selectorIndex);
context->selectorIndex = i;
break;
}
Expand Down
Binary file modified tests/elfs/poap_nanos.elf
Binary file not shown.
Binary file modified tests/elfs/poap_nanox.elf
Binary file not shown.

0 comments on commit 717b9b0

Please sign in to comment.