Address compiler warnings

This commit is contained in:
John Freeman
2024-03-29 19:03:46 -05:00
parent 985c80fbc6
commit 513842b23f

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()}};