Skip to content

Commit

Permalink
fix: bugfix for the chain id when request (DimensionDev#5708)
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-0229 authored Feb 22, 2022
1 parent 6458d67 commit 7e088cd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ async function requestSend(
const { providerType = currentProviderSettings.value } = overrides ?? {}

const chainId =
overrides?.chainId ?? providerType === ProviderType.MaskWallet
overrides?.chainId ??
(providerType === ProviderType.MaskWallet
? currentMaskWalletChainIdSettings.value
: currentChainIdSettings.value
: currentChainIdSettings.value)

const { popupsWindow = true } = options ?? {}

Expand Down

0 comments on commit 7e088cd

Please sign in to comment.