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