Skip to content

Commit 48dd77e

Browse files
committed
Remove old deprecated blank functions
1 parent 9e5a351 commit 48dd77e

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

secp256k1-sys/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ impl_raw_debug!(PublicKey);
9494
impl PublicKey {
9595
/// Create a new (zeroed) public key usable for the FFI interface
9696
pub fn new() -> PublicKey { PublicKey([0; 64]) }
97-
/// Create a new (uninitialized) public key usable for the FFI interface
98-
#[deprecated(since = "0.15.3", note = "Please use the new function instead")]
99-
pub unsafe fn blank() -> PublicKey { PublicKey::new() }
10097
}
10198

10299
impl Default for PublicKey {
@@ -120,9 +117,6 @@ impl_raw_debug!(Signature);
120117
impl Signature {
121118
/// Create a new (zeroed) signature usable for the FFI interface
122119
pub fn new() -> Signature { Signature([0; 64]) }
123-
/// Create a new (uninitialized) signature usable for the FFI interface
124-
#[deprecated(since = "0.15.3", note = "Please use the new function instead")]
125-
pub unsafe fn blank() -> Signature { Signature::new() }
126120
}
127121

128122
impl Default for Signature {

secp256k1-sys/src/recovery.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ impl_raw_debug!(RecoverableSignature);
2828
impl RecoverableSignature {
2929
/// Create a new (zeroed) signature usable for the FFI interface
3030
pub fn new() -> RecoverableSignature { RecoverableSignature([0; 65]) }
31-
/// Create a new (uninitialized) signature usable for the FFI interface
32-
#[deprecated(since = "0.15.3", note = "Please use the new function instead")]
33-
pub unsafe fn blank() -> RecoverableSignature { RecoverableSignature::new() }
3431
}
3532

3633
impl Default for RecoverableSignature {

0 commit comments

Comments
 (0)