Skip to content

Commit 8716061

Browse files
eckey: Call ecmult with NULL instead of zero scalar
1 parent 0c49029 commit 8716061

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/eckey_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static int secp256k1_eckey_pubkey_tweak_mul(secp256k1_ge *key, const secp256k1_s
8686
}
8787

8888
secp256k1_gej_set_ge(&pt, key);
89-
secp256k1_ecmult(&pt, &pt, tweak, &secp256k1_scalar_zero);
89+
secp256k1_ecmult(&pt, &pt, tweak, NULL);
9090
secp256k1_ge_set_gej(key, &pt);
9191
return 1;
9292
}

0 commit comments

Comments
 (0)