Skip to content

Commit e54233b

Browse files
Remove TODOs for secp256k1 callbacks
These TODOs have been solved in #115.
1 parent b005089 commit e54233b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/ffi.rs

+1-8
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ extern "C" {
156156
seed32: *const c_uchar)
157157
-> c_int;
158158

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

736729
assert_eq!(orig.len(), unsafe {strlen(test.as_ptr())});
737730
}
738-
}
731+
}

0 commit comments

Comments
 (0)