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

Re-enable signer, even with no UI. #8167

Merged
merged 2 commits into from
Mar 20, 2018
Merged

Re-enable signer, even with no UI. #8167

merged 2 commits into from
Mar 20, 2018

Conversation

tomusdrw
Copy link
Collaborator

Needs to get into beta.

@tomusdrw tomusdrw added A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. B0-patch M4-core ⛓ Core client code / Rust. A0-pleasereview 🤓 Pull request needs code review. and removed A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. labels Mar 20, 2018
@5chdn 5chdn added this to the 1.11 milestone Mar 20, 2018
Copy link
Contributor

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

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

Working functionality-wise.

Didn't check code.

let logger_config_color = logger_config.color;
let signer_enabled = ui_conf.enabled;
let signer_path = ws_conf.signer_path.clone();
let signer_enabled = ws_conf.support_token_api;

rpc_apis::SignerService::new(move || {
generate_new_token(&signer_path, logger_config_color).map_err(|e| format!("{:?}", e))
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we update the message that's printed by this if the UI is not running?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@andresilva andresilva left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@andresilva andresilva left a comment

Choose a reason for hiding this comment

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

LGTM

@andresilva andresilva merged commit 9e294d5 into master Mar 20, 2018
@andresilva andresilva added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Mar 20, 2018
andresilva pushed a commit that referenced this pull request Mar 20, 2018
* Re-enable signer, even with no UI.

* Fix message.
tomusdrw pushed a commit that referenced this pull request Mar 20, 2018
* Re-enable signer, even with no UI.

* Fix message.
@5chdn 5chdn deleted the td-signer-vs-ui branch March 21, 2018 15:09
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. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants