Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
10 Skipped Deployments
|
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a bug where the Bitcoin adapter was not properly maintaining the selected network after page refresh. The fix ensures that when connecting to a specific chain, the adapter uses the available CAIP networks to find the active network instead of relying solely on the connector's chain list.
- Updates chain selection logic to use
getCaipNetworks()method instead ofconnector.chains - Ensures proper network persistence across page refreshes for Bitcoin connections
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
…to-bitcoin-mainnet-on
Description
After connecting and switching network on Bitcoin, refreshing page switches AppKit back to Bitcoin Mainnet
Reproducing steps
Type of change
Associated Issues
For Linear issues: Closes APKT-xxx
For GH issues: closes #...
Showcase (Optional)
If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.
Checklist