diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-06-18 16:44:32 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2020-07-30 13:57:54 -0700 |
commit | 0ef97b1b103231db54e04a64bbdb5dcc3f34f482 (patch) | |
tree | 6cfe11145d77336221d78659a9d4266b257b8e1b /src/hash.h | |
parent | e549bf8a9afae42fcda805e216a1cde62df195a6 (diff) |
Make MurmurHash3 consume Spans
Diffstat (limited to 'src/hash.h')
-rw-r--r-- | src/hash.h | 2 |
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]); |