Skip to content

Commit c8a8d3c

Browse files
cant fail
1 parent fa90c03 commit c8a8d3c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/crypto.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -874,9 +874,7 @@ PyObject *aws_py_ec_get_public_coords(PyObject *self, PyObject *args) {
874874

875875
struct aws_byte_cursor x_cur = {0};
876876
struct aws_byte_cursor y_cur = {0};
877-
if (aws_ecc_key_pair_get_public_key(ec, &x_cur, &y_cur)) {
878-
return PyErr_AwsLastError();
879-
}
877+
aws_ecc_key_pair_get_public_key(ec, &x_cur, &y_cur);
880878

881879
PyObject *result = PyTuple_New(2);
882880
if (!result) {

0 commit comments

Comments
 (0)