Skip to content

Remove networkid from network controller - #1564

Closed
BelfordZ wants to merge 2 commits into
mainfrom
remove-network-id
Closed

Remove networkid from network controller#1564
BelfordZ wants to merge 2 commits into
mainfrom
remove-network-id

Conversation

@BelfordZ

Copy link
Copy Markdown
Contributor

Explanation

References

Changelog

@metamask/package-a

  • : Your change here
  • : Your change here

@metamask/package-b

  • : Your change here
  • : Your change here

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@BelfordZ
BelfordZ requested a review from a team as a code ownerJuly 28, 2023 21:38
@BelfordZ
BelfordZ marked this pull request as draft July 28, 2023 21:38
onNetworkStateChange((networkState) => {
this.resetState();
// should be checking chainid, not networkId
const currentNetwork = networkState.networkId;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to remove

// should be checking chainid, not networkId
const currentNetwork = networkState.networkId;
if (
isKnownNetworkId(currentNetwork) &&

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to remove?

@BelfordZ

Copy link
Copy Markdown
ContributorAuthor

replaced by #1633

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@BelfordZ@adonesky1