From de6e226dc67945694a29c73ea07ab512eb1091ba Mon Sep 17 00:00:00 2001 From: Edouard Merle Date: Tue, 6 Jul 2021 11:45:53 +0200 Subject: [PATCH] not always define seed cookie path --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 377d535..f1294f4 100644 --- a/src/main.c +++ b/src/main.c @@ -370,13 +370,13 @@ tokenDefinition_t *getKnownToken(uint8_t *contractAddress) { return NULL; } +#ifndef HAVE_WALLET_ID_SDK + unsigned int const U_os_perso_seed_cookie[] = { 0xda7aba5e, 0xc1a551c5, }; -#ifndef HAVE_WALLET_ID_SDK - void handleGetWalletId(volatile unsigned int *tx) { unsigned char t[64]; cx_ecfp_256_private_key_t priv; @@ -394,7 +394,7 @@ void handleGetWalletId(volatile unsigned int *tx) { THROW(0x9000); } -#endif +#endif // HAVE_WALLET_ID_SDK void handleApdu(unsigned int *flags, unsigned int *tx) { unsigned short sw = 0; @@ -409,7 +409,7 @@ void handleApdu(unsigned int *flags, unsigned int *tx) { return; } -#endif +#endif // HAVE_WALLET_ID_SDK #ifdef HAVE_STARKWARE