From 66fbdf1103f8f5e585f75305936ed8047a2ea7bb Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 30 Jan 2017 09:05:23 +0200 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 60fff3c6d..d32f7f639 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -655,7 +655,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above printf(" kht.%d ht.%d %.8f %.8f blockhash couldnt find vout.[%d]\n",kmdheights[i-1],otherheights[i-1],dstr(values[i-1]),dstr(srcvalues[i]),i); } } - if ( height <= chainActive.Tip()->nHeight && matched != num ) + if ( (height < chainActive.Tip()->nHeight || (height >= chainActive.Tip()->nHeight && komodo_isrealtime(&ht) != 0)) && matched != num ) { printf("WOULD REJECT %s: ht.%d (%c) matched.%d vs num.%d tip.%d isRT.%d\n",symbol,height,opcode,matched,num,(int32_t)chainActive.Tip()->nHeight,komodo_isrealtime(&ht)); // can easily happen depending on order of loading