Skip to content

Commit

Permalink
Merge pull request #66 from gnosis/fix-aura-connect
Browse files Browse the repository at this point in the history
Fix wallet connection for Aura
  • Loading branch information
jfschwarz authored Apr 21, 2023
2 parents bbfd8bb + c4be210 commit a6accab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extension/src/bridge/iframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ export default class BridgeIframe extends EventEmitter {
return Promise.resolve()
}

// Stakewise only supports MetaMask and Tally as injected providers, so we pretend to be MetaMask
isMetaMask = window.location.hostname === 'app.stakewise.io'
// Some apps don't support generic injected providers, so we pretend to be MetaMask
isMetaMask =
window.location.hostname === 'app.stakewise.io' ||
window.location.hostname === 'app.aura.finance'
}

0 comments on commit a6accab

Please sign in to comment.