File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ impl Signature {
102102}
103103
104104impl < C : Signing > Secp256k1 < C > {
105- fn schnorrsig_sign_helper (
105+ fn sign_schnorr_helper (
106106 & self ,
107107 msg : & Message ,
108108 keypair : & KeyPair ,
@@ -160,7 +160,7 @@ impl<C: Signing> Secp256k1<C> {
160160 msg : & Message ,
161161 keypair : & KeyPair ,
162162 ) -> Signature {
163- self . schnorrsig_sign_helper ( msg, keypair, ptr:: null ( ) )
163+ self . sign_schnorr_helper ( msg, keypair, ptr:: null ( ) )
164164 }
165165
166166 /// Create a Schnorr signature using the given auxiliary random data.
@@ -181,7 +181,7 @@ impl<C: Signing> Secp256k1<C> {
181181 keypair : & KeyPair ,
182182 aux_rand : & [ u8 ; 32 ] ,
183183 ) -> Signature {
184- self . schnorrsig_sign_helper (
184+ self . sign_schnorr_helper (
185185 msg,
186186 keypair,
187187 aux_rand. as_c_ptr ( ) as * const ffi:: types:: c_void ,
@@ -214,7 +214,7 @@ impl<C: Signing> Secp256k1<C> {
214214 ) -> Signature {
215215 let mut aux = [ 0u8 ; 32 ] ;
216216 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 )
218218 }
219219}
220220
You can’t perform that action at this time.
0 commit comments