Skip to content

Commit c4c6efe

Browse files
committed
[Refactor] Initialize BLS allocator in BasicTestingSetup
1 parent 104c4b0 commit c4c6efe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/test_pivx.cpp

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

1010
#include "blockassembler.h"
1111
#include "consensus/merkle.h"
12+
#include "bls/bls_wrapper.h"
1213
#include "guiinterface.h"
1314
#include "evo/deterministicmns.h"
1415
#include "evo/evodb.h"
@@ -43,6 +44,7 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName)
4344
: m_path_root(fs::temp_directory_path() / "test_pivx" / strprintf("%lu_%i", (unsigned long)GetTime(), (int)(InsecureRandRange(1 << 30))))
4445
{
4546
ECC_Start();
47+
BLSInit();
4648
SetupEnvironment();
4749
InitSignatureCache();
4850
fCheckBlockIndex = true;

0 commit comments

Comments
 (0)