Skip to content

Conversation

@joojis
Copy link
Contributor

@joojis joojis commented Aug 14, 2018

No description provided.


fn read_network_id(chain: &str) -> Result<NetworkId, String> {
let mut contents = String::new();
let reader: &[u8] = match chain {
Copy link
Member

Choose a reason for hiding this comment

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

Code duplication. Use ChainType::scheme method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you. I changed it.

@joojis joojis force-pushed the account-cli-network-id branch from 02e07b2 to 499009d Compare August 16, 2018 02:04
@sgkim126 sgkim126 added this to the Testnet milestone Aug 16, 2018
Copy link
Member

@kseo kseo left a comment

Choose a reason for hiding this comment

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

Ok

@kseo kseo merged commit 90b3821 into CodeChain-io:master Aug 16, 2018
@joojis joojis deleted the account-cli-network-id branch August 21, 2018 08:03
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.

3 participants