aboutsummaryrefslogtreecommitdiff
path: root/src/consensus/merkle.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-09-27 18:50:31 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-05-29 14:17:07 -0700
commit1f0e7ca09c9d7c5787c218156fa5096a1bdf2ea8 (patch)
tree7b911a2d3600b45ac4c9f14a034ba3ad2f724b29 /src/consensus/merkle.h
parentd0c96328833127284574bfef26f96aa2e4afc91a (diff)
downloadbitcoin-1f0e7ca09c9d7c5787c218156fa5096a1bdf2ea8.tar.xz
Use SHA256D64 in Merkle root computation
Diffstat (limited to 'src/consensus/merkle.h')
-rw-r--r--src/consensus/merkle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consensus/merkle.h b/src/consensus/merkle.h
index 0afb73adb5..f2559d458e 100644
--- a/src/consensus/merkle.h
+++ b/src/consensus/merkle.h
@@ -12,7 +12,7 @@
#include <primitives/block.h>
#include <uint256.h>
-uint256 ComputeMerkleRoot(const std::vector<uint256>& leaves, bool* mutated = nullptr);
+uint256 ComputeMerkleRoot(std::vector<uint256> hashes, bool* mutated);
std::vector<uint256> ComputeMerkleBranch(const std::vector<uint256>& leaves, uint32_t position);
uint256 ComputeMerkleRootFromBranch(const uint256& leaf, const std::vector<uint256>& branch, uint32_t position);