From 40cc514091583794a79fcdf0f008e786e17b7e91 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 31 Oct 2016 20:03:58 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index e0edd233f..0293712fa 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -147,7 +147,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above { int32_t i,j,n,num,opretlen,offset=1; uint256 hash,txids[64]; uint8_t shortflag; char base[16]; uint16_t vouts[64]; uint8_t *script; struct pax_transaction *pax,space; n = block.vtx[0].vout.size(); - while ( KOMODO_REALTIME == 0 || time(null) < KOMODO_REALTIME ) + while ( KOMODO_REALTIME == 0 || time(NULL) <= KOMODO_REALTIME ) { printf("komodo_check_deposit waiting for realtime\n"); sleep(3);