Completed
Push — master ( ca2eaa...1cb896 )
by Marcel
51s
created
src/BIP32/DerivationPath.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.