nahmii-community / bridge

The Nahmii gateway, for bridging assets between L1 <-> L2.
1 stars 2 forks source link

ERC20 token persists on switching networks #30

Closed HDauven closed 2 years ago

HDauven commented 2 years ago

When you're on a given network with an ERC20 token selected for that network, and you switch to a different network, the ERC20 token data is persisted within the app.

To resolve this bug, a simple fix would be to reset the actively selected token back to the native token when a user switches networks.