From 8ccd2d7776f391b77fdc297e4dc785a94262a78e Mon Sep 17 00:00:00 2001 From: Michele Balistreri Date: Mon, 8 Jul 2024 14:48:19 +0200 Subject: [PATCH] remove useless variable --- app/core/core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/core/core.c b/app/core/core.c index bfcf06c..c7c4759 100644 --- a/app/core/core.c +++ b/app/core/core.c @@ -397,10 +397,10 @@ static void core_addresses(const uint32_t* base_path, size_t base_len, core_addr g_core.bip44_path[(i * 4) + 3] = (c & 0xff); } - g_core.bip44_path[(base_len * 4)] = index >> 24; - g_core.bip44_path[(base_len * 4) + 1] = (index >> 16) & 0xff; - g_core.bip44_path[(base_len * 4) + 2] = (index >> 8) & 0xff; - g_core.bip44_path[(base_len * 4) + 3] = (index & 0xff); + g_core.bip44_path[(base_len * 4)] = 0; + g_core.bip44_path[(base_len * 4) + 1] = 0; + g_core.bip44_path[(base_len * 4) + 2] = 0; + g_core.bip44_path[(base_len * 4) + 3] = 0; base_len++;