1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

Use correct paths for Cardano Byron witnesses

This commit is contained in:
gabrielkerekes 2020-08-04 15:35:24 +02:00 committed by Tomas Susanka
parent ac9047a438
commit afa26e7560

View File

@ -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(