Skip to content

Commit

Permalink
chore: add workaround comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zoruka committed Dec 9, 2024
1 parent 6bae34c commit d68166b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/adapters/bitcoin/src/connectors/OKXConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ export class OKXConnector extends ProviderEventEmitter implements BitcoinConnect
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const okxwallet = (window as any)?.okxwallet
const wallet = okxwallet?.bitcoin
/**
* OKX doesn't provide a way to get the image URL specifally for bitcoin
* so we use the icon for cardano as a fallback
*/
const imageUrl = okxwallet?.cardano?.icon || ''

if (wallet) {
Expand Down

0 comments on commit d68166b

Please sign in to comment.