From 561a4a15ebe5b4e39d977bb619ebaef2ee659ef8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 27 Nov 2018 08:37:10 -1100 Subject: [PATCH] CBlockIndex *pindex; --- src/komodo_bitcoind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 34bd7e514..1a0fad409 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -1064,7 +1064,7 @@ uint64_t komodo_accrued_interest(int32_t *txheightp,uint32_t *locktimep,uint256 int32_t komodo_nextheight() { - int32_t ht,longest = komodo_longestchain(); + CBlockIndex *pindex; int32_t ht,longest = komodo_longestchain(); if ( (pindex= chainActive.LastTip()) != 0 && (ht= pindex->GetHeight()) >= longest ) return(ht+1); else return(longest + 1);