File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ impl Signature {
102
102
}
103
103
104
104
impl < C : Signing > Secp256k1 < C > {
105
- fn schnorrsig_sign_helper (
105
+ fn sign_schnorr_helper (
106
106
& self ,
107
107
msg : & Message ,
108
108
keypair : & KeyPair ,
@@ -160,7 +160,7 @@ impl<C: Signing> Secp256k1<C> {
160
160
msg : & Message ,
161
161
keypair : & KeyPair ,
162
162
) -> Signature {
163
- self . schnorrsig_sign_helper ( msg, keypair, ptr:: null ( ) )
163
+ self . sign_schnorr_helper ( msg, keypair, ptr:: null ( ) )
164
164
}
165
165
166
166
/// Create a Schnorr signature using the given auxiliary random data.
@@ -181,7 +181,7 @@ impl<C: Signing> Secp256k1<C> {
181
181
keypair : & KeyPair ,
182
182
aux_rand : & [ u8 ; 32 ] ,
183
183
) -> Signature {
184
- self . schnorrsig_sign_helper (
184
+ self . sign_schnorr_helper (
185
185
msg,
186
186
keypair,
187
187
aux_rand. as_c_ptr ( ) as * const ffi:: types:: c_void ,
@@ -214,7 +214,7 @@ impl<C: Signing> Secp256k1<C> {
214
214
) -> Signature {
215
215
let mut aux = [ 0u8 ; 32 ] ;
216
216
rng. fill_bytes ( & mut aux) ;
217
- self . schnorrsig_sign_helper ( msg, keypair, aux. as_c_ptr ( ) as * const ffi:: types:: c_void )
217
+ self . sign_schnorr_helper ( msg, keypair, aux. as_c_ptr ( ) as * const ffi:: types:: c_void )
218
218
}
219
219
}
220
220
You can’t perform that action at this time.
0 commit comments