Allow import of Prysm keystores (#1535)

## Issue Addressed

- Resolves #1361

## Proposed Changes

Loosens the constraints imposed by EIP-2335 so we can import keys from Prysm.

## Additional Info

NA
This commit is contained in:
Paul Hauner
2020-08-18 06:28:20 +00:00
parent 8311074d68
commit 46dd530476
6 changed files with 78 additions and 13 deletions

View File

@@ -225,13 +225,13 @@ fn key_derivation_from_seed() {
.expect("should generate keystores");
assert_eq!(
keystores.voting.path(),
keystores.voting.path().unwrap(),
format!("m/12381/3600/{}/0/0", i),
"voting path should match"
);
assert_eq!(
keystores.withdrawal.path(),
keystores.withdrawal.path().unwrap(),
format!("m/12381/3600/{}/0", i),
"withdrawal path should match"
);