File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 37
37
"node-gyp-build" : " ^4.2.0"
38
38
},
39
39
"devDependencies" : {
40
- "node-gyp" : " ^5.0.7 " ,
40
+ "node-gyp" : " ^10.1.0 " ,
41
41
"nyc" : " ^15.0.0" ,
42
42
"prebuildify" : " ^5.0.0" ,
43
43
"prebuildify-cross" : " ^4.0.2" ,
Original file line number Diff line number Diff line change @@ -107,22 +107,22 @@ Napi::Value Secp256k1Addon::PrivateKeyVerify(const Napi::CallbackInfo& info) {
107
107
Napi::Value Secp256k1Addon::PrivateKeyNegate (const Napi::CallbackInfo& info) {
108
108
auto seckey = info[0 ].As <Napi::Buffer<unsigned char >>().Data ();
109
109
110
- RETURN_IF_ZERO (secp256k1_ec_privkey_negate (this ->ctx_ , seckey), 1 );
110
+ RETURN_IF_ZERO (secp256k1_ec_seckey_negate (this ->ctx_ , seckey), 1 );
111
111
RETURN (0 );
112
112
}
113
113
114
114
Napi::Value Secp256k1Addon::PrivateKeyTweakAdd (const Napi::CallbackInfo& info) {
115
115
auto seckey = info[0 ].As <Napi::Buffer<unsigned char >>().Data ();
116
116
auto tweak = info[1 ].As <Napi::Buffer<const unsigned char >>().Data ();
117
117
118
- RETURN_INVERTED (secp256k1_ec_privkey_tweak_add (this ->ctx_ , seckey, tweak));
118
+ RETURN_INVERTED (secp256k1_ec_seckey_tweak_add (this ->ctx_ , seckey, tweak));
119
119
}
120
120
121
121
Napi::Value Secp256k1Addon::PrivateKeyTweakMul (const Napi::CallbackInfo& info) {
122
122
auto seckey = info[0 ].As <Napi::Buffer<unsigned char >>().Data ();
123
123
auto tweak = info[1 ].As <Napi::Buffer<const unsigned char >>().Data ();
124
124
125
- RETURN_INVERTED (secp256k1_ec_privkey_tweak_mul (this ->ctx_ , seckey, tweak));
125
+ RETURN_INVERTED (secp256k1_ec_seckey_tweak_mul (this ->ctx_ , seckey, tweak));
126
126
}
127
127
128
128
// PublicKey
You can’t perform that action at this time.
0 commit comments