mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
Call SHA256AutoDetect in benchmark setup
This commit is contained in:
parent
a79bca2f1f
commit
addf18da95
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue