diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-09-27 18:50:31 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-05-29 14:17:07 -0700 |
commit | 1f0e7ca09c9d7c5787c218156fa5096a1bdf2ea8 (patch) | |
tree | 7b911a2d3600b45ac4c9f14a034ba3ad2f724b29 /src/bench | |
parent | d0c96328833127284574bfef26f96aa2e4afc91a (diff) |
Use SHA256D64 in Merkle root computation
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/merkle_root.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/merkle_root.cpp b/src/bench/merkle_root.cpp index 027b19125d..ae2a0a28dc 100644 --- a/src/bench/merkle_root.cpp +++ b/src/bench/merkle_root.cpp @@ -18,7 +18,7 @@ static void MerkleRoot(benchmark::State& state) } while (state.KeepRunning()) { bool mutation = false; - uint256 hash = ComputeMerkleRoot(leaves, &mutation); + uint256 hash = ComputeMerkleRoot(std::vector<uint256>(leaves), &mutation); leaves[mutation] = hash; } } |