Change apdu payload length to proper size (8 bits)

This commit is contained in:
Alexandre Paillier
2022-07-19 11:42:25 +02:00
parent cd36a5fe9c
commit 895c37e1fa
17 changed files with 37 additions and 36 deletions

View File

@@ -480,7 +480,7 @@ void handleGetWalletId(volatile unsigned int *tx) {
#endif // HAVE_WALLET_ID_SDK
const uint8_t *parseBip32(const uint8_t *dataBuffer, uint16_t *dataLength, bip32_path_t *bip32) {
const uint8_t *parseBip32(const uint8_t *dataBuffer, uint8_t *dataLength, bip32_path_t *bip32) {
if (*dataLength < 1) {
PRINTF("Invalid data\n");
return NULL;