diff options
author | Pieter Wuille <pieter@wuille.net> | 2020-06-18 17:19:46 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2020-07-30 13:57:54 -0700 |
commit | 02c4cc5c5ddf61f98ee366a4bea8abc26de492bd (patch) | |
tree | 71a25d64248ffeac24259ddbe328481e9125020d /src/net.cpp | |
parent | 0ef97b1b103231db54e04a64bbdb5dcc3f34f482 (diff) |
Make CHash256/CHash160 output to Span
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 435a527ce7..438625bb36 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -696,7 +696,7 @@ const uint256& V1TransportDeserializer::GetMessageHash() const { assert(Complete()); if (data_hash.IsNull()) - hasher.Finalize(data_hash.begin()); + hasher.Finalize(data_hash); return data_hash; } |