Skip to content

adapting new collectiblesController shape - #648

Merged
adonesky1 merged 2 commits into
mainfrom
chainId-hotfix
Dec 1, 2021
Merged

adapting new collectiblesController shape#648
adonesky1 merged 2 commits into
mainfrom
chainId-hotfix

Conversation

@adonesky1

Copy link
Copy Markdown
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
Comment thread src/assets/CollectiblesController.ts Outdated
selectedAddress = detection.userAddress;
} else {
chainId = this.config.chainId;

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.

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

@danjm danjm left a comment

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.

LGTM!

@adonesky1
adonesky1 merged commit fadeefb into main Dec 1, 2021
@adonesky1
adonesky1 deleted the chainId-hotfix branch December 1, 2021 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants