1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 19:08:12 +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)) paths.add(tuple(input.address_n))
for path in paths: for path in paths:
node = keychain.derive(list(input.address_n)) node = keychain.derive(list(path))
public_key = remove_ed25519_prefix(node.public_key()) public_key = remove_ed25519_prefix(node.public_key())
signature = ed25519.sign_ext( signature = ed25519.sign_ext(