Skip to content

Commit

Permalink
use node usb transport for Trezor (#1729)
Browse files Browse the repository at this point in the history
  • Loading branch information
mholtzman authored Jan 20, 2025
1 parent 5e670b5 commit 71bb1de
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions app/dash/Accounts/Add/AddHardware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,6 @@ class AddHardware extends React.Component {
<div className='addAccountItemDevice'>
<div className='addAccountItemDeviceTitle'>No Devices Found</div>
</div>
{this.deviceName === 'trezor' ? (
<div className='addAccountItemTrezorBridgeWarning'>
<div>Don&apos;t see your Trezor?</div>
<div>
<span>Make sure you&apos;ve installed </span>
<span
className='openBridgeUrl'
onClick={() => link.send('tray:openExternal', 'https://wiki.trezor.io/Trezor_Bridge')}
>
Trezor bridge
</span>
</div>
</div>
) : null}
</>
)}
</div>
Expand Down
3 changes: 2 additions & 1 deletion main/signers/trezor/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const config = {
popup: false,
webusb: false,
debug: false,
lazyLoad: false
lazyLoad: false,
transports: ['NodeUsbTransport' as const]
}

async function handleResponse<T>(p: Response<T>) {
Expand Down
1 change: 0 additions & 1 deletion main/windows/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ const externalWhitelist = [
'https://discord.gg/UH7NGqY',
'https://frame.canny.io',
'https://feedback.frame.sh',
'https://wiki.trezor.io/Trezor_Bridge',
'https://opensea.io'
]

Expand Down

0 comments on commit 71bb1de

Please sign in to comment.