Merge pull request #143 from rust-bitcoin/remove-callback-todos
Remove TODOs for secp256k1 callbacks
This commit is contained in:
commit
5ea300a4e0
|
@ -159,13 +159,6 @@ extern "C" {
|
|||
seed32: *const c_uchar)
|
||||
-> c_int;
|
||||
|
||||
// TODO secp256k1_context_set_illegal_callback
|
||||
// TODO secp256k1_context_set_error_callback
|
||||
// (Actually, I don't really want these exposed; if either of these
|
||||
// are ever triggered it indicates a bug in rust-secp256k1, since
|
||||
// one goal is to use Rust's type system to eliminate all possible
|
||||
// bad inputs.)
|
||||
|
||||
// Pubkeys
|
||||
pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey,
|
||||
input: *const c_uchar, in_len: usize)
|
||||
|
@ -738,4 +731,4 @@ mod tests {
|
|||
|
||||
assert_eq!(orig.len(), unsafe {strlen(test.as_ptr())});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue