From f67800d0ff896c19c9a1bd5edc1f71d9d3c3f406 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 31 Oct 2016 17:12:53 -0300 Subject: [PATCH] test --- src/komodo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index 4ceea53e2..8e0d27f71 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -345,7 +345,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) komodo_init(); if ( ASSETCHAINS_SYMBOL[0] != 0 ) { - while ( KOMODO_REALTIME == 0 || time(NULL) < KOMODO_REALTIME+10 ) + while ( KOMODO_REALTIME == 0 || time(NULL) <= KOMODO_REALTIME ) { fprintf(stderr,"komodo_connect.(%s) waiting for realtime RT.%u now.%u\n",ASSETCHAINS_SYMBOL,KOMODO_REALTIME,(uint32_t)time(NULL)); sleep(3);