From 36f4d2cdc6bf4a77956697ec15e541ff7828ddc3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 22 Mar 2017 17:25:32 +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 d893a897c..3f944a3bc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -715,9 +715,9 @@ int32_t komodo_validate_interest(const CTransaction& tx) if ( txheighttime == 0 ) { static uint32_t counter0; - txheighttime = tiptime; + txheighttime = chainActive.Tip()->nTime; if ( counter0++ < 3 ) - fprintf(stderr,"error getting txheighttime, set to tiptime.%u\n",tiptime); + fprintf(stderr,"error getting txheighttime, set to tiptime.%u\n",txheighttime); } if ( (int64_t)tx.nLockTime < txheighttime-3600 ) {