aboutsummaryrefslogtreecommitdiff
path: root/src/test/flatfile_tests.cpp
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2023-11-01 22:46:17 +1000
committerAnthony Towns <aj@erisian.com.au>2023-11-16 11:14:13 +1000
commit1410d300df7e57a895f2697d9849a2201021c973 (patch)
treecf74f8da1b94c7237bca1162a903b004e2ef62a4 /src/test/flatfile_tests.cpp
parentbf574a75016123309b894da895ab1c7a81731933 (diff)
downloadbitcoin-1410d300df7e57a895f2697d9849a2201021c973.tar.xz
serialize: Drop useless version param from GetSerializeSize()
Diffstat (limited to 'src/test/flatfile_tests.cpp')
-rw-r--r--src/test/flatfile_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/flatfile_tests.cpp b/src/test/flatfile_tests.cpp
index 3874b38f61..21a36d9d43 100644
--- a/src/test/flatfile_tests.cpp
+++ b/src/test/flatfile_tests.cpp
@@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE(flatfile_open)
"lost if a trusted third party is still required to prevent double-spending.");
size_t pos1 = 0;
- size_t pos2 = pos1 + GetSerializeSize(line1, CLIENT_VERSION);
+ size_t pos2 = pos1 + GetSerializeSize(line1);
// Write first line to file.
{