Skip to content

Commit

Permalink
chore: cast value as Boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
humanumbrella committed Sep 24, 2024
1 parent d5183cb commit cf8b014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/caravan-wallets/src/trezor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ const TREZOR_DEV =

try {
TrezorConnect.init({
trustedHost: TREZOR_DEV, // if we're in dev mode, lets trust the host
debug: TREZOR_DEV,
trustedHost: Boolean(TREZOR_DEV), // if we're in dev mode, lets trust the host
debug: Boolean(TREZOR_DEV),
connectSrc: TREZOR_DEV
? TREZOR_CONNECT_URL
: "https://connect.trezor.io/9.1.9/", // pinning to this connect version to avoid backwards incompatible changes
Expand Down

0 comments on commit cf8b014

Please sign in to comment.