Address compiler warnings

This commit is contained in:
John Freeman
2026-02-19 20:39:23 +09:00
committed by tequ
parent 384d8ed09b
commit 1cdca0a832

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