Skip to content

Commit 5b16d89

Browse files
committed
[BUG] Initialize Random for bench tests
1 parent 1c3f2cb commit 5b16d89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bench/bench_pivx.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "bls/bls_wrapper.h"
99
#include "key.h"
10+
#include "random.h"
1011
#include "util/system.h"
1112

1213
void InitBLSTests();
@@ -16,6 +17,7 @@ void CleanupBLSDkgTests();
1617
int main(int argc, char** argv)
1718
{
1819
ECC_Start();
20+
RandomInit();
1921
BLSInit();
2022
InitBLSTests();
2123
SetupEnvironment();

0 commit comments

Comments
 (0)