mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-19 18:15:50 +00:00
Address compiler warnings
This commit is contained in:
@@ -191,7 +191,7 @@ public:
|
|||||||
auto gsk = [this, tweak = calculateTweak(ordinal)]() {
|
auto gsk = [this, tweak = calculateTweak(ordinal)]() {
|
||||||
auto rpk = root_;
|
auto rpk = root_;
|
||||||
|
|
||||||
if (secp256k1_ec_privkey_tweak_add(
|
if (secp256k1_ec_seckey_tweak_add(
|
||||||
secp256k1Context(), rpk.data(), tweak.data()) == 1)
|
secp256k1Context(), rpk.data(), tweak.data()) == 1)
|
||||||
{
|
{
|
||||||
SecretKey sk{Slice{rpk.data(), rpk.size()}};
|
SecretKey sk{Slice{rpk.data(), rpk.size()}};
|
||||||
|
|||||||
Reference in New Issue
Block a user