mirror of
https://github.com/status-im/status-go.git
synced 2025-02-02 09:56:52 +00:00
6ed10bce81
This commit fixes `native token not found` issue that occurs only when the input params of an already successfully generated route for a fast chain (refers to a chain that generates new block very fast, like optimism, arbitrum) are updated. The reason of the issue was that active route remains the same until the resolving of a new route for updated input parameters gets generated, for fast chains that was enough time to generate a new block and send fees update for the previously active route. This commit fixes that possibility by aborting updates in a better way.