diff options
author | Determinant <[email protected]> | 2018-07-19 20:07:16 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-07-19 20:07:16 -0400 |
commit | 928b2c1910bfe957a4cc31746aa395c9ed98006f (patch) | |
tree | 79429e7eebf4fe85e8aa5cfea1aaa741652fa3e2 /src/crypto.cpp | |
parent | 3c355d7f9e7b491b9fc5af4516286ab4100238c6 (diff) |
...
Diffstat (limited to 'src/crypto.cpp')
-rw-r--r-- | src/crypto.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crypto.cpp b/src/crypto.cpp index 7450229..560a8ac 100644 --- a/src/crypto.cpp +++ b/src/crypto.cpp @@ -17,7 +17,9 @@ bool QuorumCertSecp256k1::verify(const ReplicaConfig &config) { if (rids.size() < config.nmajority) return false; for (size_t i = 0; i < rids.size(); i++) if (!sigs[i].verify(_blk_hash, - static_cast<const PubKeySecp256k1 &>(config.get_pubkey(rids.get(i))))) + static_cast<const PubKeySecp256k1 &>(config.get_pubkey(rids.get(i))), + secp256k1_default_verify_ctx + )) return false; return true; } |