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

ledger-signer: Don't try to split cfgStr if none is specified #26

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

tjanez
Copy link
Member

@tjanez tjanez commented Jul 30, 2020

This should give a better error message when the user didn't specify a valid signer configuration, i.e. it will return "address not configured" instead of "malformed k/v pair: ''".

The second commit is an implementation of this part of https://github.com/oasisprotocol/oasis-core/issues/3134:

If the Ledger signer plugin is used, it could display something like:

Please, follow the instructions on your Ledger device's screen...

Removed that commit, replaced by oasisprotocol/oasis-core@fa213e7.

Copy link
Contributor

@Yawning Yawning left a comment

Choose a reason for hiding this comment

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

NACK, because I'm going to rewrite the entire plugin

This should give a better error message when the user didn't specify a
valid signer configuration, i.e. it will return "address not configured"
instead of "malformed k/v pair: ''".
@tjanez tjanez force-pushed the tjanez/signer-improvements branch from 017637d to 3f76f58 Compare July 31, 2020 11:14
@tjanez tjanez changed the title Smaller signer plugin improvements ledger-signer: Don't try to split cfgStr if none is specified Jul 31, 2020
@tjanez tjanez requested review from Yawning and kostko July 31, 2020 11:18
@tjanez tjanez merged commit 767ac76 into master Jul 31, 2020
@tjanez tjanez deleted the tjanez/signer-improvements branch July 31, 2020 12:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants