Skip to content

Commit 5ea300a

Browse files
Merge pull request #143 from rust-bitcoin/remove-callback-todos
Remove TODOs for secp256k1 callbacks
2 parents a055c3f + 255d1dd commit 5ea300a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/ffi.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,6 @@ extern "C" {
159159
seed32: *const c_uchar)
160160
-> c_int;
161161

162-
// TODO secp256k1_context_set_illegal_callback
163-
// TODO secp256k1_context_set_error_callback
164-
// (Actually, I don't really want these exposed; if either of these
165-
// are ever triggered it indicates a bug in rust-secp256k1, since
166-
// one goal is to use Rust's type system to eliminate all possible
167-
// bad inputs.)
168-
169162
// Pubkeys
170163
pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey,
171164
input: *const c_uchar, in_len: usize)
@@ -738,4 +731,4 @@ mod tests {
738731

739732
assert_eq!(orig.len(), unsafe {strlen(test.as_ptr())});
740733
}
741-
}
734+
}

0 commit comments

Comments
 (0)