From afa26e7560f233ef2bc37c36190e588dc0e4106a Mon Sep 17 00:00:00 2001 From: gabrielkerekes Date: Tue, 4 Aug 2020 15:35:24 +0200 Subject: [PATCH] Use correct paths for Cardano Byron witnesses --- core/src/apps/cardano/sign_tx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/apps/cardano/sign_tx.py b/core/src/apps/cardano/sign_tx.py index f9ebd0c867..4e31fbd5b3 100644 --- a/core/src/apps/cardano/sign_tx.py +++ b/core/src/apps/cardano/sign_tx.py @@ -394,7 +394,7 @@ def _build_byron_witnesses( paths.add(tuple(input.address_n)) for path in paths: - node = keychain.derive(list(input.address_n)) + node = keychain.derive(list(path)) public_key = remove_ed25519_prefix(node.public_key()) signature = ed25519.sign_ext(