keyfork-slip10-test-data: it's actually 512 not 256
This commit is contained in:
parent
748b3a2064
commit
97f9a57e08
|
@ -18,10 +18,10 @@ pub struct TestData {
|
||||||
pub tests: Vec<Test>,
|
pub tests: Vec<Test>,
|
||||||
}
|
}
|
||||||
|
|
||||||
const SECP256K1_256: &str = "fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a2\
|
const SECP256K1_512: &str = "fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a2\
|
||||||
9f9c999693908d8a8784817e7b7875726f6c696663605d5a5754514e4b484542";
|
9f9c999693908d8a8784817e7b7875726f6c696663605d5a5754514e4b484542";
|
||||||
|
|
||||||
const ED25519_256: &str = "fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a2\
|
const ED25519_512: &str = "fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a2\
|
||||||
9f9c999693908d8a8784817e7b7875726f6c696663605d5a5754514e4b484542";
|
9f9c999693908d8a8784817e7b7875726f6c696663605d5a5754514e4b484542";
|
||||||
|
|
||||||
// Note: This should never error.
|
// Note: This should never error.
|
||||||
|
@ -113,7 +113,7 @@ pub fn test_data() -> Result<HashMap<String, Vec<TestData>>, Box<dyn std::error:
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
TestData {
|
TestData {
|
||||||
seed: hex::decode(SECP256K1_256)?,
|
seed: hex::decode(SECP256K1_512)?,
|
||||||
tests: vec![
|
tests: vec![
|
||||||
Test {
|
Test {
|
||||||
chain: "m",
|
chain: "m",
|
||||||
|
@ -253,7 +253,7 @@ pub fn test_data() -> Result<HashMap<String, Vec<TestData>>, Box<dyn std::error:
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
TestData {
|
TestData {
|
||||||
seed: hex::decode(ED25519_256)?,
|
seed: hex::decode(ED25519_512)?,
|
||||||
tests: vec![
|
tests: vec![
|
||||||
Test {
|
Test {
|
||||||
chain: "m",
|
chain: "m",
|
||||||
|
|
Loading…
Reference in New Issue