Skip to content
Snippets Groups Projects
Commit 3a775af5 authored by nanocryk's avatar nanocryk
Browse files

change Display for KeyPair to desambiguate display with PublicKey.

parent fe7b18ea
Branches
Tags
1 merge request!9Resolve "Add keyPair type"
...@@ -222,7 +222,7 @@ pub struct KeyPair { ...@@ -222,7 +222,7 @@ pub struct KeyPair {
impl Display for KeyPair { impl Display for KeyPair {
fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { fn fmt(&self, f: &mut Formatter) -> Result<(), Error> {
write!(f, "{}", self.pubkey.to_base58()) write!(f, "({}, hidden)", self.pubkey.to_base58())
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment