mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-22 13:40:16 +01:00
Use ParamsWrapper for witness serialization
This commit is contained in:
@@ -27,7 +27,7 @@ struct TestBlockAndIndex {
|
||||
std::byte a{0};
|
||||
stream.write({&a, 1}); // Prevent compaction
|
||||
|
||||
stream >> block;
|
||||
stream >> TX_WITH_WITNESS(block);
|
||||
|
||||
blockHash = block.GetHash();
|
||||
blockindex.phashBlock = &blockHash;
|
||||
|
||||
Reference in New Issue
Block a user