Address compiler warnings

This commit is contained in:
John Freeman
2024-03-29 19:03:46 -05:00
committed by tequ
parent 946d34b25d
commit 796ca637d6

View File

@@ -191,7 +191,7 @@ public:
auto gsk = [this, tweak = calculateTweak(ordinal)]() {
auto rpk = root_;
if (secp256k1_ec_privkey_tweak_add(
if (secp256k1_ec_seckey_tweak_add(
secp256k1Context(), rpk.data(), tweak.data()) == 1)
{
SecretKey sk{Slice{rpk.data(), rpk.size()}};