From 796ca637d6350319c53d54b42687ff7f0a1d9a23 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Fri, 29 Mar 2024 19:03:46 -0500 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()}};