mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Make CHash256/CHash160 output to Span
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user