diff --git a/app/src/crypto.c b/app/src/crypto.c index 39c13f3..075e15d 100644 --- a/app/src/crypto.c +++ b/app/src/crypto.c @@ -23,7 +23,7 @@ #include "zxformat.h" #include "zxmacros.h" -uint32_t hdPath[HDPATH_LEN_DEFAULT]; +uint32_t hdPath[MAX_BIP32_PATH]; uint32_t hdPath_len; uint8_t change_address[20]; #include diff --git a/app/src/crypto.h b/app/src/crypto.h index 951d08b..3280f8c 100644 --- a/app/src/crypto.h +++ b/app/src/crypto.h @@ -26,7 +26,7 @@ extern "C" { #include "coin.h" #include "zxerror.h" -extern uint32_t hdPath[HDPATH_LEN_DEFAULT]; +extern uint32_t hdPath[MAX_BIP32_PATH]; extern uint32_t hdPath_len; extern uint8_t change_address[20];