aboutsummaryrefslogtreecommitdiff
path: root/src/bench/rpc_blockchain.cpp
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2023-09-07 19:16:57 +1000
committerAnthony Towns <aj@erisian.com.au>2023-11-14 08:45:30 +1000
commit6e9e4e6130797b721c8df1eabaf46ec25ebb6abe (patch)
tree6444c337cd23d1e6aabedf229a9efb1583fb7351 /src/bench/rpc_blockchain.cpp
parent5800c558eb5efb4839ed00d6967e43306d68e1c3 (diff)
downloadbitcoin-6e9e4e6130797b721c8df1eabaf46ec25ebb6abe.tar.xz
Use ParamsWrapper for witness serialization
Diffstat (limited to 'src/bench/rpc_blockchain.cpp')
-rw-r--r--src/bench/rpc_blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/rpc_blockchain.cpp b/src/bench/rpc_blockchain.cpp
index a9b197b190..0fb222f3b5 100644
--- a/src/bench/rpc_blockchain.cpp
+++ b/src/bench/rpc_blockchain.cpp
@@ -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;