getChainId() and getAccount().chainId returns different results when wallet is connected to chain that is not passed to wagmi chains config #4030
microHoffman
started this conversation in
General
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I've observed one weird thing - I'm passing chain A + B to wagmi config as supported chains, but if my wallet is connected to chain C, the
getChainId()
returns either chain A or B, while thegetAccount().chainId
returns the actual connected chain C. Is that bug or is it intentional?Beta Was this translation helpful? Give feedback.
All reactions