aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-08-25 18:10:53 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-09-05 10:13:50 +0200
commitfa626af3edbe8d98b2de91dd71729ceef90389fb (patch)
tree4081f90f43e3097976d0803809e7fea8b2ecac04 /src/test
parentfafa3fc5a62702da72991497e3270034eb9159c0 (diff)
Remove unused legacy CHashVerifier
Diffstat (limited to 'src/test')
-rw-r--r--src/test/streams_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/streams_tests.cpp b/src/test/streams_tests.cpp
index 5232175824..589a2fd766 100644
--- a/src/test/streams_tests.cpp
+++ b/src/test/streams_tests.cpp
@@ -553,12 +553,12 @@ BOOST_AUTO_TEST_CASE(streams_buffered_file_rand)
BOOST_AUTO_TEST_CASE(streams_hashed)
{
- CDataStream stream(SER_NETWORK, INIT_PROTO_VERSION);
+ DataStream stream{};
HashedSourceWriter hash_writer{stream};
const std::string data{"bitcoin"};
hash_writer << data;
- CHashVerifier hash_verifier{&stream};
+ HashVerifier hash_verifier{stream};
std::string result;
hash_verifier >> result;
BOOST_CHECK_EQUAL(data, result);