File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ impl<'buf> Secp256k1<SignOnlyPreallocated<'buf>> {
374
374
/// * The user must handle the freeing of the context(using the correct functions) by himself.
375
375
/// * This list *is not* exhaustive, and any violation may lead to Undefined Behavior.
376
376
///
377
- pub unsafe fn from_raw_signining_only ( raw_ctx : * mut ffi:: Context ) -> ManuallyDrop < Secp256k1 < SignOnlyPreallocated < ' buf > > > {
377
+ pub unsafe fn from_raw_signing_only ( raw_ctx : * mut ffi:: Context ) -> ManuallyDrop < Secp256k1 < SignOnlyPreallocated < ' buf > > > {
378
378
ManuallyDrop :: new ( Secp256k1 {
379
379
ctx : raw_ctx,
380
380
phantom : PhantomData ,
Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ mod tests {
610
610
let ctx_vrfy = Secp256k1 :: verification_only ( ) ;
611
611
612
612
let mut full = unsafe { Secp256k1 :: from_raw_all ( ctx_full. ctx ) } ;
613
- let mut sign = unsafe { Secp256k1 :: from_raw_signining_only ( ctx_sign. ctx ) } ;
613
+ let mut sign = unsafe { Secp256k1 :: from_raw_signing_only ( ctx_sign. ctx ) } ;
614
614
let mut vrfy = unsafe { Secp256k1 :: from_raw_verification_only ( ctx_vrfy. ctx ) } ;
615
615
616
616
let ( sk, pk) = full. generate_keypair ( & mut thread_rng ( ) ) ;
You can’t perform that action at this time.
0 commit comments