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