From b5c14758009396323eb478864a60c3deee5862f7 Mon Sep 17 00:00:00 2001 From: BTChip github Date: Wed, 7 Apr 2021 12:19:51 +0200 Subject: [PATCH] Fix initialization --- Makefile | 2 +- src/eth_plugin_internal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c38c053..ae29efa 100755 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ APP_LOAD_PARAMS += --path "45'" APPVERSION_M=1 APPVERSION_N=6 APPVERSION_P=6 -APPVERSION=$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)-dvf1 +APPVERSION=$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)-dvf2 APP_LOAD_FLAGS= --appFlags 0x240 --dep Ethereum:$(APPVERSION) ifeq ($(CHAIN),) diff --git a/src/eth_plugin_internal.c b/src/eth_plugin_internal.c index 6ff538b..96cc706 100644 --- a/src/eth_plugin_internal.c +++ b/src/eth_plugin_internal.c @@ -126,7 +126,7 @@ const internalEthPlugin_t const INTERNAL_ETH_PLUGINS[] = { #ifdef HAVE_STARKWARE - {NULL, (const uint8_t**) STARKWARE_SELECTORS, 10, "-strk", starkware_plugin_call}, + {NULL, (const uint8_t**) STARKWARE_SELECTORS, NUM_STARKWARE_SELECTORS, "-strk", starkware_plugin_call}, #endif