diff options
Diffstat (limited to 'src/serialize.h')
-rw-r--r-- | src/serialize.h | 2 |
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(); } |