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

Manage final user-input errors. #494

Merged
merged 2 commits into from Feb 22, 2016
Merged

Manage final user-input errors. #494

merged 2 commits into from Feb 22, 2016

Conversation

gavofyork
Copy link
Contributor

No description provided.

@gavofyork gavofyork added the A0-pleasereview 🤓 Pull request needs code review. label Feb 22, 2016
@@ -236,7 +236,7 @@ impl Configuration {
let (listen, public) = self.net_addresses();
ret.listen_address = listen;
ret.public_address = public;
ret.use_secret = self.args.flag_node_key.as_ref().map(|s| Secret::from_str(&s).expect("Invalid key string"));
ret.use_secret = self.args.flag_node_key.as_ref().map(|s| Secret::from_str(&s).unwrap_or_else(|_| s.sha3()));
Copy link
Collaborator

Choose a reason for hiding this comment

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

docopts needs to be updated. Right now it says this must be a hex string

@arkpar arkpar added A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 22, 2016
@gavofyork gavofyork added A0-pleasereview 🤓 Pull request needs code review. and removed A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. labels Feb 22, 2016
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 22, 2016
arkpar added a commit that referenced this pull request Feb 22, 2016
Manage final user-input errors.
@arkpar arkpar merged commit 4e023a1 into master Feb 22, 2016
gavofyork added a commit that referenced this pull request Feb 29, 2016
arkpar added a commit that referenced this pull request Feb 29, 2016
Morden switch to Homestead rules at #494,000.
@debris debris deleted the usererrors branch March 10, 2016 09:57
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.

None yet

2 participants