From ad281befdb82bc533da8584c82962f3f81132fb0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 24 Nov 2018 11:16:27 -1100 Subject: [PATCH] GetHeight() --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ba768c064..731b2f46c 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->nHeight,MAX_BLOCK_SIZE(pindexNew->nHeight),(int32_t)pblock->size()); + fprintf(stderr,"connecting ht.%d maxsize.%d vs %d\n",(int32_t)pindexNew->GetHeight(),MAX_BLOCK_SIZE(pindexNew->GetHeight()),(int32_t)block.size()); // Get the current commitment tree SproutMerkleTree oldSproutTree; SaplingMerkleTree oldSaplingTree;