Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Remove unnecessary check on removeSupportForChain #8649

Closed
Tracked by #7226
ishantiw opened this issue Jun 23, 2023 · 0 comments
Closed
Tracked by #7226

Remove unnecessary check on removeSupportForChain #8649

ishantiw opened this issue Jun 23, 2023 · 0 comments

Comments

@ishantiw
Copy link
Contributor

Description

In the removeSupportForChain function, the if (chainID.equals(this._ownChainID)) check is unnecessary because _isMainchainOrNative already does this check.

Which version(s) does this affect? (Environment, OS, etc...)

v6.0.0-beta.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants