From 5e485bf14b77da7586f7dd44dc03856aaf30a1b9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 24 Nov 2018 11:21:12 -1100 Subject: [PATCH] ::GetSerializeSize(block, SER_NETWORK, PROTOCOL_VERSION) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 85fe9f1af..3ec7f0306 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3901,7 +3901,7 @@ bool static ConnectTip(CValidationState &state, CBlockIndex *pindexNew, CBlock * pblock = █ } KOMODO_CONNECTING = (int32_t)pindexNew->GetHeight(); - fprintf(stderr,"connecting ht.%d maxsize.%d vs %d\n",(int32_t)pindexNew->GetHeight(),MAX_BLOCK_SIZE(pindexNew->GetHeight()),(int32_t)pblock->vtx.size()); + fprintf(stderr,"connecting ht.%d maxsize.%d vs %d\n",(int32_t)pindexNew->GetHeight(),MAX_BLOCK_SIZE(pindexNew->GetHeight()),(int32_t)::GetSerializeSize(*pblock, SER_NETWORK, PROTOCOL_VERSION)); // Get the current commitment tree SproutMerkleTree oldSproutTree; SaplingMerkleTree oldSaplingTree;