Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
test: add parse pk test (#2194)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Feb 27, 2023
1 parent 028d219 commit 936fbcd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ethers-signers/src/wallet/private_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ mod tests {
use ethers_core::types::Address;
use tempfile::tempdir;

#[test]
fn parse_pk() {
let s = "6f142508b4eea641e33cb2a0161221105086a84584c74245ca463a49effea30b";
let pk: Wallet<SigningKey> = s.parse().unwrap();
}

#[tokio::test]
async fn encrypted_json_keystore() {
// create and store a random encrypted JSON keystore in this directory
Expand Down

0 comments on commit 936fbcd

Please sign in to comment.