From ce94767eb64655f7c1f939a47ddb6ea9aba24416 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 8 Nov 2016 17:01:50 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index f8881c7d8..3c0c2c8bc 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -280,16 +280,20 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above { if ( opcode == 'X' ) { + matched++; for (j=0; j<32; j++) printf("%02x",((uint8_t *)&txids[i-1])[j]); printf(" cant paxfind txid\n"); - } + } else if ( opcode == 'I' ) + matched++; } komodo_paxmark(height,&space,txids[i-1],vouts[i-1],height); } if ( matched != num ) { // can easily happen depending on order of loading + if ( height > 60000 ) + printf("WARNING: ht.%d (%c) matched.%d vs num.%d\n",height,opcode,matched,num); } } //printf("opretlen.%d num.%d\n",opretlen,num);