Merge #10662: Initialize randomness in benchmarks

5155d11 Initialize randomness in benchmarks (Andrew Chow)

Tree-SHA512: 235006eb161893e1a84d5b2747cbaf7c82ced179ab2b9df30197b4cb2d3c4f31e47fa5b9cf62aced0fe244da47f3a38fbbe91fe86b0a90f1d86604da5d806fb1
This commit is contained in:
MarcoFalke 2017-06-24 10:19:41 +02:00
commit e0a7801223
No known key found for this signature in database
GPG key ID: D2EA4850E7528B25

View file

@ -7,10 +7,12 @@
#include "key.h" #include "key.h"
#include "validation.h" #include "validation.h"
#include "util.h" #include "util.h"
#include "random.h"
int int
main(int argc, char** argv) main(int argc, char** argv)
{ {
RandomInit();
ECC_Start(); ECC_Start();
SetupEnvironment(); SetupEnvironment();
fPrintToDebugLog = false; // don't want to write to debug.log file fPrintToDebugLog = false; // don't want to write to debug.log file