mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-21 11:30:16 +01:00
Call SHA256AutoDetect in benchmark setup
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <bench/bench.h>
|
||||
|
||||
#include <crypto/sha256.h>
|
||||
#include <util/strencodings.h>
|
||||
#include <util/system.h>
|
||||
|
||||
@@ -35,6 +36,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
ArgsManager argsman;
|
||||
SetupBenchArgs(argsman);
|
||||
SHA256AutoDetect();
|
||||
std::string error;
|
||||
if (!argsman.ParseParameters(argc, argv, error)) {
|
||||
tfm::format(std::cerr, "Error parsing command line arguments: %s\n", error);
|
||||
|
||||
Reference in New Issue
Block a user