Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Remove TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Apr 2, 2019
1 parent 39eb7c4 commit 82996bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions embed/extmod/modtrezorcrypto/modtrezorcrypto-secp256k1_zkp.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,6 @@ STATIC mp_obj_t mod_trezorcrypto_secp256k1_zkp_verify_recover(
}
secp256k1_pubkey pk;
if (!secp256k1_ecdsa_recover(ctx, &pk, &ec_sig, (const uint8_t *)dig.buf)) {
// Copying "return None" behaviour from secp256k1 module; but why do
// we do this rather than raising an exception?
return mp_const_none;
}
uint8_t out[65];
Expand Down

0 comments on commit 82996bf

Please sign in to comment.