mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 510ac41eac into merged_master (Bitcoin PR bitcoin/bitcoin#25331)
This commit is contained in:
commit
28d35f619e
15 changed files with 68 additions and 56 deletions
|
|
@ -482,7 +482,7 @@ static bool UndoWriteToDisk(const CBlockUndo& blockundo, FlatFilePos& pos, const
|
|||
fileout << blockundo;
|
||||
|
||||
// calculate & write checksum
|
||||
CHashWriter hasher(SER_GETHASH, PROTOCOL_VERSION);
|
||||
HashWriter hasher{};
|
||||
hasher << hashBlock;
|
||||
hasher << blockundo;
|
||||
fileout << hasher.GetHash();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue