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