diff --git a/pybtc/_secp256k1/module_secp256k1.c b/pybtc/_secp256k1/module_secp256k1.c index 7cae799..770f078 100644 --- a/pybtc/_secp256k1/module_secp256k1.c +++ b/pybtc/_secp256k1/module_secp256k1.c @@ -228,6 +228,7 @@ static PyObject *secp256k1_secp256k1_ec_pubkey_create(PyObject *self, PyObject * return NULL; } secp256k1_pubkey pubkey; + return Py_BuildValue("b", 0); int r = 0; r = secp256k1_ec_pubkey_create(secp256k1_precomp_context_sign, &pubkey, buffer.buf); if (r != 1) {