keyfork-slip10-test-data: it's actually 512 not 256

This commit is contained in:
Ryan Heywood 2023-09-25 19:41:59 -05:00
parent 748b3a2064
commit 97f9a57e08
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 4 additions and 4 deletions

View File

@ -18,10 +18,10 @@ pub struct TestData {
pub tests: Vec<Test>,
}
const SECP256K1_256: &str = "fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a2\
const SECP256K1_512: &str = "fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a2\
9f9c999693908d8a8784817e7b7875726f6c696663605d5a5754514e4b484542";
const ED25519_256: &str = "fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a2\
const ED25519_512: &str = "fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a2\
9f9c999693908d8a8784817e7b7875726f6c696663605d5a5754514e4b484542";
// Note: This should never error.
@ -113,7 +113,7 @@ pub fn test_data() -> Result<HashMap<String, Vec<TestData>>, Box<dyn std::error:
],
},
TestData {
seed: hex::decode(SECP256K1_256)?,
seed: hex::decode(SECP256K1_512)?,
tests: vec![
Test {
chain: "m",
@ -253,7 +253,7 @@ pub fn test_data() -> Result<HashMap<String, Vec<TestData>>, Box<dyn std::error:
],
},
TestData {
seed: hex::decode(ED25519_256)?,
seed: hex::decode(ED25519_512)?,
tests: vec![
Test {
chain: "m",