From f4ad37c5473bb7a79cee4809349e5d1caf3d124a Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 24 Mar 2017 06:04:52 +0200 Subject: [PATCH] Test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ce4ba6967..114280ef0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -730,7 +730,7 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32 } if ( prevblocktime == 0 ) { - if ( activeChain.Tip() != 0 && height == activeChain.Tip()->nHeight+1 ) + if ( chainActive.Tip.Tip() != 0 && txheight == chainActive.Tip.Tip()->nHeight+1 ) prevblocktime = activeChain.Tip()->nTime; else {