Skip to content

Commit

Permalink
hw plugins: ledger: bump pinned lib to 0.3.0, raise max_lib to <0.4
Browse files Browse the repository at this point in the history
closes #9035
  • Loading branch information
SomberNight committed Oct 14, 2024
1 parent 85940e7 commit 719292f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions contrib/deterministic-build/requirements-hw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@ keepkey==6.3.1 \
--hash=sha256:88e2b5291c85c8e8567732f675697b88241082884aa1aba32257f35ee722fc09 \
--hash=sha256:cef1e862e195ece3e42640a0f57d15a63086fd1dedc8b5ddfcbc9c2657f0bb1e \
--hash=sha256:f369d640c65fec7fd8e72546304cdc768c04224a6b9b00a19dc2cd06fa9d2a6b
ledger-bitcoin==0.2.1 \
--hash=sha256:01697fab6333ceca4d228eb27f7d12f763e033f620b1bfb5949b20ec0b33b6ca \
--hash=sha256:1160aa887df9f88539110c3c88535fc838cfff26600a326df23b4a09f09036f1
ledger-bitcoin==0.3.0 \
--hash=sha256:ad9cdeaf33a45562bbd5bae6751025b869a2f81d6eb0267dd062a01f5925a4d5 \
--hash=sha256:e7c33404d02044c3810b294a510f7ad97bc65ab12dbdd180d873f2b4ebc0711a
ledgercomm==1.2.1 \
--hash=sha256:015cfc05f16b8c59f8cc1d9fc0b8935923f1fcc3806d33eeb6b0e055b44f5a91 \
--hash=sha256:8ffef5703355b8ec7b73bca325f70288f4d0dafcb299c09833de9c197fb6dd34
Expand Down
4 changes: 1 addition & 3 deletions contrib/requirements/requirements-hw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ keepkey>=6.3.1

# device plugin: ledger
# note: btchip-python only needed for "legacy" protocol and HW.1 support
# note: ledger-bitcoin==0.2.2 added new deps we don't want to bundle. otherwise it should be ok to use.
# see https://github.com/LedgerHQ/app-bitcoin-new/issues/192
btchip-python>=0.1.32
ledger-bitcoin>=0.2.0,<0.2.2
ledger-bitcoin>=0.2.0
hidapi

# device plugin: coldcard
Expand Down
2 changes: 1 addition & 1 deletion electrum/plugins/ledger/ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ def show_address(self, sequence, *args, **kwargs):
class LedgerPlugin(HW_PluginBase):
keystore_class = Ledger_KeyStore
minimum_library = (0, 2, 0)
maximum_library = (0, 3, 0)
maximum_library = (0, 4, 0)
DEVICE_IDS = [(0x2581, 0x1807), # HW.1 legacy btchip
(0x2581, 0x2b7c), # HW.1 transitional production
(0x2581, 0x3b7c), # HW.1 ledger production
Expand Down

0 comments on commit 719292f

Please sign in to comment.