diff --git a/ethers-signers/src/wallet/private_key.rs b/ethers-signers/src/wallet/private_key.rs index f4b83ef0..1d20cabe 100644 --- a/ethers-signers/src/wallet/private_key.rs +++ b/ethers-signers/src/wallet/private_key.rs @@ -161,6 +161,12 @@ mod tests { use ethers_core::types::Address; use tempfile::tempdir; + #[test] + fn parse_pk() { + let s = "6f142508b4eea641e33cb2a0161221105086a84584c74245ca463a49effea30b"; + let pk: Wallet = s.parse().unwrap(); + } + #[tokio::test] async fn encrypted_json_keystore() { // create and store a random encrypted JSON keystore in this directory