mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
serialize: Drop useless version param from GetSerializeSize()
This commit is contained in:
@@ -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.
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user