@@ -95,8 +95,7 @@ |
||
95 | 95 | private static function CKDPriv(PrivateKey $kParent, string $cParent, int $index): array |
96 | 96 | { |
97 | 97 | $hmacData = self::hardened($index) ? |
98 | - "\x00".$kParent.self::ser32($index) : |
|
99 | - $kParent->pubKey->sec().self::ser32($index); |
|
98 | + "\x00".$kParent.self::ser32($index) : $kParent->pubKey->sec().self::ser32($index); |
|
100 | 99 | |
101 | 100 | $I = Hashing::sha512hmac($hmacData, $cParent); |
102 | 101 |