Remove old deprecated blank functions
This commit is contained in:
parent
9e5a351ea7
commit
48dd77e47b
|
@ -94,9 +94,6 @@ impl_raw_debug!(PublicKey);
|
|||
impl PublicKey {
|
||||
/// Create a new (zeroed) public key usable for the FFI interface
|
||||
pub fn new() -> PublicKey { PublicKey([0; 64]) }
|
||||
/// Create a new (uninitialized) public key usable for the FFI interface
|
||||
#[deprecated(since = "0.15.3", note = "Please use the new function instead")]
|
||||
pub unsafe fn blank() -> PublicKey { PublicKey::new() }
|
||||
}
|
||||
|
||||
impl Default for PublicKey {
|
||||
|
@ -120,9 +117,6 @@ impl_raw_debug!(Signature);
|
|||
impl Signature {
|
||||
/// Create a new (zeroed) signature usable for the FFI interface
|
||||
pub fn new() -> Signature { Signature([0; 64]) }
|
||||
/// Create a new (uninitialized) signature usable for the FFI interface
|
||||
#[deprecated(since = "0.15.3", note = "Please use the new function instead")]
|
||||
pub unsafe fn blank() -> Signature { Signature::new() }
|
||||
}
|
||||
|
||||
impl Default for Signature {
|
||||
|
|
|
@ -28,9 +28,6 @@ impl_raw_debug!(RecoverableSignature);
|
|||
impl RecoverableSignature {
|
||||
/// Create a new (zeroed) signature usable for the FFI interface
|
||||
pub fn new() -> RecoverableSignature { RecoverableSignature([0; 65]) }
|
||||
/// Create a new (uninitialized) signature usable for the FFI interface
|
||||
#[deprecated(since = "0.15.3", note = "Please use the new function instead")]
|
||||
pub unsafe fn blank() -> RecoverableSignature { RecoverableSignature::new() }
|
||||
}
|
||||
|
||||
impl Default for RecoverableSignature {
|
||||
|
|
Loading…
Reference in New Issue