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

Commit

Permalink
add TODO about key_id in ledgertm signer
Browse files Browse the repository at this point in the history
  • Loading branch information
liamsi committed Feb 20, 2019
1 parent 2dd4809 commit bdaa630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/keyring/ed25519/ledgertm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pub fn init(
}
let provider = Box::new(Ed25519LedgerTmAppSigner::connect()?);
let pk = provider.public_key()?;
// TODO: key_id shouldn't be a constant here (see LEDGER_TM_ID):
let signer = Signer::new(LEDGER_TM_PROVIDER_LABEL, LEDGER_TM_ID.to_string(), provider);
keyring.add(pk, signer)?;
Ok(())
Expand Down

0 comments on commit bdaa630

Please sign in to comment.