From 8fafc03dc0acca161c9af9f8148f407f5975fe00 Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Sun, 2 Jun 2024 14:27:36 +0200 Subject: [PATCH] Defined new default index for device 34 --- extractor/keydive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extractor/keydive.js b/extractor/keydive.js index d98e356..25d00f9 100644 --- a/extractor/keydive.js +++ b/extractor/keydive.js @@ -140,9 +140,9 @@ const prepareKeyRequest = (address) => { } else if ([24, 25, 26, 27, 28, 29, 30].includes(SDK_API)) { index = 4; } else if ([34].includes(SDK_API)) { - index = 6; + index = 5; // Possibly value 5 too, depending on the architecture } else { - index = 6; // Default index assignment + index = 5; // Default index assignment print(Level.WARNING, 'SDK API not implemented'); print(Level.WARNING, `Defaulting to args[${index}] for PrepareKeyRequest`); }