::GetSerializeSize(block, SER_NETWORK, PROTOCOL_VERSION)

This commit is contained in:
jl777
2018-11-24 11:21:12 -11:00
parent f414e7f701
commit 5e485bf14b

View File

@@ -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;