Skip to content

Commit

Permalink
added missing slow_hwi_listing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasgriffin committed Feb 2, 2025
1 parent 00d1da5 commit 43c8a0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions bitcoin_usb/usb_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ def get_device(self, slow_hwi_listing=False) -> Dict[str, Any] | None:
self.signal_end_hwi_blocker.emit()
return None

def sign(self, psbt: bdk.PartiallySignedTransaction) -> Optional[bdk.PartiallySignedTransaction]:
selected_device = self.get_device()
def sign(
self, psbt: bdk.PartiallySignedTransaction, slow_hwi_listing=False
) -> Optional[bdk.PartiallySignedTransaction]:
selected_device = self.get_device(slow_hwi_listing=slow_hwi_listing)
if not selected_device:
return None

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ disable_error_code = "assignment"

[tool.poetry]
name = "bitcoin-usb"
version = "0.7.7"
version = "0.7.8"
authors = ["andreasgriffin <[email protected]>"]
license = "GPL-3.0"
readme = "README.md"
Expand Down

0 comments on commit 43c8a0f

Please sign in to comment.