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:
parent
ac9047a438
commit
afa26e7560
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user