This commit is contained in:
jl777
2017-03-26 20:47:07 +03:00
parent 88908338ca
commit 04e91f213e

View File

@@ -962,7 +962,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
} }
if ( ASSETCHAINS_SYMBOL[0] == 0 ) if ( ASSETCHAINS_SYMBOL[0] == 0 )
{ {
if ( height > 0 && (height < chainActive.Tip()->nHeight || (height >= chainActive.Tip()->nHeight && komodo_isrealtime(&ht) != 0)) && matched != num ) /*if ( height > 0 && (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)); 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 // can easily happen depending on order of loading
@@ -971,7 +971,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
printf("REJECT: ht.%d (%c) matched.%d vs num.%d\n",height,opcode,matched,num); printf("REJECT: ht.%d (%c) matched.%d vs num.%d\n",height,opcode,matched,num);
return(-1); return(-1);
} }
} }*/ // disabled 'X' path
} }
else else
{ {