From 05923fe5032fa11d25cd5326045615eec37a011e Mon Sep 17 00:00:00 2001 From: emmanuelm41 Date: Fri, 17 Jan 2025 12:58:12 -0300 Subject: [PATCH] chore: move pk position on extended structure --- app/src/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/crypto.c b/app/src/crypto.c index 5d24153..1d672a5 100644 --- a/app/src/crypto.c +++ b/app/src/crypto.c @@ -73,8 +73,8 @@ typedef struct { uint32_t version; uint8_t depth; uint32_t index; - uint8_t publicKey[PK_LEN_SECP256K1]; uint8_t chainCode[CHAIN_CODE_LEN_SECP256K1]; + uint8_t publicKey[PK_LEN_SECP256K1]; } __attribute__((packed)) answer_extended_t; zxerr_t ripemd160(uint8_t *in, uint16_t inLen, uint8_t *out) {