Skip to content

refactor: adapt to mainnet in wallet - #908

Merged
ashchan merged 1 commit into
developfrom
adapt-mainnet-in-wallet
Sep 4, 2019
Merged

refactor: adapt to mainnet in wallet#908
ashchan merged 1 commit into
developfrom
adapt-mainnet-in-wallet

Conversation

@classicalliu

Copy link
Copy Markdown
Contributor

No description provided.

).address

const blake160: string = LockUtils.addressToBlake160(testnetAddress)
const addressToParse = env.testnet ? testnetAddress : mainnetAddress

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.

Any plan to move this out of Env, placing into its own storage/class?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will do this later, don't know how to judge mainnet now.

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.

got that.

@ashchan
ashchan merged commit 244315b into develop Sep 4, 2019
@ashchan
ashchan deleted the adapt-mainnet-in-wallet branch September 9, 2019 04:12
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