Skip to content

Commit

Permalink
Merge branch 'main' into feat/sign-with-counterfactual-acc
Browse files Browse the repository at this point in the history
  • Loading branch information
Bacis authored Feb 5, 2024
2 parents db0f711 + d8389fe commit 1e80b06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export default function SessionProposalModal() {
})
// TODO: improve for multi network
console.log('namespaces', namespaces['eip155'])
const namespaceChains = namespaces['eip155'].chains?.map((c: string) => c.split(':')[1])
const namespaceChains = namespaces['eip155']?.chains?.map((c: string) => c.split(':')[1])
const smartAccountEnabledChains: Chain[] = allowedChains.filter(chain => namespaceChains?.includes(chain.id.toString()))
// We find a request for a chain that is enabled for smart account
if (smartAccountEnabledChains.length) {
Expand Down

0 comments on commit 1e80b06

Please sign in to comment.