Completed
Pull Request — master (#2)
by Marcel
30s
created
src/ECC/PrivateKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
         $t = Encoding::serN($d, 32) ^ Hashing::taggedHash('BIP0340/aux', $auxRand);
65 65
 
66
-        $k0 = gmp_import(Hashing::taggedHash('BIP0340/nonce', $t . Encoding::serN($P->x->num, 32).$msg)) % S256Params::N();
66
+        $k0 = gmp_import(Hashing::taggedHash('BIP0340/nonce', $t.Encoding::serN($P->x->num, 32).$msg)) % S256Params::N();
67 67
         if (0 == $k0) {
68 68
             throw new \InvalidArgumentException('Failure. This happens only with negligible probability. Sipa dixit.');
69 69
         }
Please login to merge, or discard this patch.