mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 03:21:23 +00:00
ChildKeyDerivationTest: Fix second testcase of testChildKeyDerivation() is never tested.
This commit is contained in:
@@ -53,8 +53,9 @@ public class ChildKeyDerivationTest {
|
||||
"cc9c753a63b8678ce647b7457397acef",
|
||||
"7012bc411228495f25d666d55fdce3f10a93908b5f9b9b7baa6e7573603a7bda"
|
||||
};
|
||||
assertEquals(0, ckdTestVectors.length % 3);
|
||||
|
||||
for(int i = 0; i < 1; i++) {
|
||||
for(int i = 0; i < ckdTestVectors.length / 3; i++) {
|
||||
byte[] priv = HEX.decode(ckdTestVectors[3 * i]);
|
||||
byte[] pub = HEX.decode(ckdTestVectors[3 * i + 1]);
|
||||
byte[] chain = HEX.decode(ckdTestVectors[3 * i + 2]); // chain code
|
||||
|
Reference in New Issue
Block a user