From 1cdca0a8321c2ee3ae219c7a836d0adb809df8bc Mon Sep 17 00:00:00 2001 From: John Freeman Date: Thu, 19 Feb 2026 20:39:23 +0900 Subject: [PATCH] Address compiler warnings --- src/ripple/protocol/impl/SecretKey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/protocol/impl/SecretKey.cpp b/src/ripple/protocol/impl/SecretKey.cpp index 63661888f..e83068610 100644 --- a/src/ripple/protocol/impl/SecretKey.cpp +++ b/src/ripple/protocol/impl/SecretKey.cpp @@ -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()}};