Skip to content

Commit

Permalink
[BUG] Initialize Random for bench tests
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Sep 14, 2021
1 parent 1c3f2cb commit 5b16d89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bench/bench_pivx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include "bls/bls_wrapper.h"
#include "key.h"
#include "random.h"
#include "util/system.h"

void InitBLSTests();
Expand All @@ -16,6 +17,7 @@ void CleanupBLSDkgTests();
int main(int argc, char** argv)
{
ECC_Start();
RandomInit();
BLSInit();
InitBLSTests();
SetupEnvironment();
Expand Down

0 comments on commit 5b16d89

Please sign in to comment.