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

Commit

Permalink
fixed ethstore sign (#8026)
Browse files Browse the repository at this point in the history
  • Loading branch information
debris authored and 5chdn committed Mar 5, 2018
1 parent 217cdf5 commit 4af1560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethstore/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ fn execute<S, I>(command: I) -> Result<String, Error> where I: IntoIterator<Item
let password = load_password(&args.arg_password)?;
let account_ref = open_args_vault_account(&store, address, &args)?;
let signature = store.sign(&account_ref, &password, &message)?;
Ok(format!("0x{:?}", signature))
Ok(format!("0x{}", signature))
} else if args.cmd_public {
let address = args.arg_address.parse().map_err(|_| ethstore::Error::InvalidAccount)?;
let password = load_password(&args.arg_password)?;
Expand Down

0 comments on commit 4af1560

Please sign in to comment.