Skip to content

Commit

Permalink
Remove expectation of leading byte in swap address parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Jan 13, 2025
1 parent 73095cd commit b42a2a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/apps/cosmos.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from nacl.exceptions import BadSignatureError

from ragger.utils import create_currency_config
from ragger.bip import pack_derivation_path, bitcoin_pack_derivation_path, BtcDerivationPathFormat
from ragger.bip import pack_derivation_path
from ragger.error import ExceptionRAPDU
from scalecodec.base import RuntimeConfiguration
from scalecodec.type_registry import load_type_registry_preset
Expand All @@ -18,7 +18,7 @@
from ecdsa.util import string_to_number

COSMOS_CONF = create_currency_config("ATOM", "Cosmos")
COSMOS_PACKED_DERIVATION_PATH = bitcoin_pack_derivation_path(BtcDerivationPathFormat.LEGACY, "m/44'/118'/5'/0'/3")
COSMOS_PACKED_DERIVATION_PATH = pack_derivation_path("m/44'/118'/5'/0'/3")
COSMOS_PACKED_DERIVATION_PATH_SIGN_INIT = bytes([0x2c, 0x00, 0x00, 0x80,
0x76, 0x00, 0x00, 0x80,
0x05, 0x00, 0x00, 0x80,
Expand Down

0 comments on commit b42a2a3

Please sign in to comment.