Skip to content

Commit

Permalink
Update src/utils/pub_from_private.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Valentine Oragbakosi  <[email protected]>
  • Loading branch information
Bill-Kunj and Valentine-Mario authored Dec 29, 2022
1 parent 1714149 commit ef65754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/pub_from_private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use secp256k1::{

//use secret gotten from get_pri_pub_key_pair() to create new secret here
///get public key from a private key
/// ```
/// ```no_run
/// use crate::utils::pub_from_private::{get_seckey_from_string,get_pub_key};
/// let seckey=get_seckey_from_string("secret key").unwrap();
/// let pub_key=get_pub_key(&seckey)
Expand Down

0 comments on commit ef65754

Please sign in to comment.