aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2020-06-18 16:44:32 -0700
committerPieter Wuille <pieter@wuille.net>2020-07-30 13:57:54 -0700
commit0ef97b1b103231db54e04a64bbdb5dcc3f34f482 (patch)
tree6cfe11145d77336221d78659a9d4266b257b8e1b /src/hash.h
parente549bf8a9afae42fcda805e216a1cde62df195a6 (diff)
Make MurmurHash3 consume Spans
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.h b/src/hash.h
index 3289bdee2f..e93146f92c 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -200,7 +200,7 @@ uint256 SerializeHash(const T& obj, int nType=SER_GETHASH, int nVersion=PROTOCOL
return ss.GetHash();
}
-unsigned int MurmurHash3(unsigned int nHashSeed, const std::vector<unsigned char>& vDataToHash);
+unsigned int MurmurHash3(unsigned int nHashSeed, Span<const unsigned char> vDataToHash);
void BIP32Hash(const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64]);