Skip to content

Commit f961e04

Browse files
fix: initialize BLS in benchmarking setup
1 parent d3fa315 commit f961e04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bench/bench_bitcoin.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include <bench/bench.h>
66

7+
#include <bls/bls.h>
78
#include <clientversion.h>
89
#include <crypto/sha256.h>
910
#include <crypto/x11/dispatch.h>
@@ -64,6 +65,8 @@ int main(int argc, char** argv)
6465
SetupBenchArgs(argsman);
6566
SapphireAutoDetect();
6667
SHA256AutoDetect();
68+
BLSInit();
69+
bls::bls_legacy_scheme.store(false);
6770
std::string error;
6871
if (!argsman.ParseParameters(argc, argv, error)) {
6972
tfm::format(std::cerr, "Error parsing command line arguments: %s\n", error);

0 commit comments

Comments
 (0)