From 354dc58a3bb4f348521fea4c9ebb436ef80066a2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 24 Mar 2017 06:05:51 +0200 Subject: [PATCH] Test --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 114280ef0..f6c30f2a7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -730,8 +730,8 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32 } if ( prevblocktime == 0 ) { - if ( chainActive.Tip.Tip() != 0 && txheight == chainActive.Tip.Tip()->nHeight+1 ) - prevblocktime = activeChain.Tip()->nTime; + if ( chainActive.Tip() != 0 && txheight == chainActive.Tip()->nHeight+1 ) + prevblocktime = chainActive.Tip()->nTime; else { fprintf(stderr,"couldnt get prevblocktime for [%d]\n",txheight);