aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
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/serialize.h
parentbf574a75016123309b894da895ab1c7a81731933 (diff)
serialize: Drop useless version param from GetSerializeSize()
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 9d8867fd64..83715866f5 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -1121,7 +1121,7 @@ inline void WriteCompactSize(SizeComputer &s, uint64_t nSize)
}
template <typename T>
-size_t GetSerializeSize(const T& t, int nVersion = 0)
+size_t GetSerializeSize(const T& t)
{
return (SizeComputer() << t).size();
}