Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fixing status page displaying homestead #1020

Merged
merged 2 commits into from
Apr 30, 2016
Merged

Fixing status page displaying homestead #1020

merged 2 commits into from
Apr 30, 2016

Conversation

tomusdrw
Copy link
Collaborator

when running with --testnet switch.

@tomusdrw tomusdrw added the A0-pleasereview 🤓 Pull request needs code review. label Apr 29, 2016
@@ -241,7 +241,7 @@ impl Configuration {
pub fn network_settings(&self) -> NetworkSettings {
NetworkSettings {
name: self.args.flag_identity.clone(),
chain: self.args.flag_chain.clone(),
Copy link
Contributor

@gavofyork gavofyork Apr 29, 2016

Choose a reason for hiding this comment

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

why is this even needed? it means that flag_testnet and flag_chain are interpreted in two different positions, leading to this bug. self.args should be interpreted in only one position for each field and network shouldn't need to care about what chain it is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're right. I've update the code and added some tests.

@gavofyork gavofyork added A4-gotissues 💥 Pull request is reviewed and has significant issues which must be addressed. A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. and removed A0-pleasereview 🤓 Pull request needs code review. A4-gotissues 💥 Pull request is reviewed and has significant issues which must be addressed. labels Apr 29, 2016
@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. and removed A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. labels Apr 30, 2016
@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Apr 30, 2016
@gavofyork gavofyork merged commit fdd030d into master Apr 30, 2016
@gavofyork gavofyork deleted the testnet-flag branch April 30, 2016 17:58
@ethshan ethshan mentioned this pull request Sep 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants