Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapting new collectiblesController shape #648

Merged
merged 2 commits into from
Dec 1, 2021
Merged

adapting new collectiblesController shape #648

merged 2 commits into from
Dec 1, 2021

Conversation

adonesky1
Copy link
Contributor

  • FIXED:
    • Fix issue where chainId is formatted differently in manual collectible add and detection add flows.

@adonesky1 adonesky1 requested a review from a team as a code owner December 1, 2021 00:56
@@ -489,6 +490,13 @@ export class CollectiblesController extends BaseController<
selectedAddress = detection.userAddress;
} else {
chainId = this.config.chainId;

Copy link
Contributor

Choose a reason for hiding this comment

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

Place this outstide the if/else block, so that the chainId set in the if block is covered as well, in case it is not properly formatted

Copy link
Contributor

@danjm danjm left a comment

Choose a reason for hiding this comment

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

LGTM!

@adonesky1 adonesky1 merged commit fadeefb into main Dec 1, 2021
@adonesky1 adonesky1 deleted the chainId-hotfix branch December 1, 2021 01:20
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* adapting new collectiblesController shape

* address feedback
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* adapting new collectiblesController shape

* address feedback
Sign up for free to 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