@@ -76,8 +76,7 @@ |
||
76 | 76 | private function CKDPriv(string $kParent, string $cParent, int $index): array |
77 | 77 | { |
78 | 78 | $hmacData = self::hardened($index) ? |
79 | - "\x00".$kParent.self::ser32($index) : |
|
80 | - new PrivateKey(gmp_import($kParent))->pubKey->sec().self::ser32($index); |
|
79 | + "\x00".$kParent.self::ser32($index) : new PrivateKey(gmp_import($kParent))->pubKey->sec().self::ser32($index); |
|
81 | 80 | |
82 | 81 | $I = Hashing::sha512hmac($hmacData, $cParent); |
83 | 82 |