Skip to content

Commit

Permalink
Merge pull request #178 from LedgerHQ/fix-missing-arg
Browse files Browse the repository at this point in the history
Fix missing arg
  • Loading branch information
sgliner-ledger authored Apr 2, 2024
2 parents 46ed1cf + 1ab0762 commit 987c599
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.16.2] - 2024-04-02

### Fixed
- backend: add missing tick_timeout argument from physical backends

## [1.16.1] - 2024-03-27

Expand Down
2 changes: 1 addition & 1 deletion src/ragger/backend/ledgercomm.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def receive(self) -> RAPDU:
return result

@raise_policy_enforcer
def exchange_raw(self, data: bytes = b"") -> RAPDU:
def exchange_raw(self, data: bytes = b"", tick_timeout: int = 0) -> RAPDU:
self.apdu_logger.debug("=> %s", data.hex())
assert self._client is not None
result = RAPDU(*self._client.exchange_raw(data))
Expand Down
2 changes: 1 addition & 1 deletion src/ragger/backend/ledgerwallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def receive(self) -> RAPDU:
return result

@raise_policy_enforcer
def exchange_raw(self, data: bytes = b"") -> RAPDU:
def exchange_raw(self, data: bytes = b"", tick_timeout: int = 0) -> RAPDU:
self.apdu_logger.debug("=> %s", data.hex())
assert self._client is not None
raw_result = self._client.raw_exchange(data)
Expand Down

0 comments on commit 987c599

Please sign in to comment.