This commit is contained in:
jl777
2016-11-26 21:09:55 -03:00
parent eeac75281d
commit d683083dd3

View File

@@ -452,29 +452,29 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
if ( pax->marked != 0 && height >= 80820 )
errs++;
else matched++;
if ( opcode == 'X' )
printf("errs.%d i.%d match %.8f == %.8f pax.%p\n",errs,i,dstr(pax != 0 ? pax->komodoshis:-1),dstr(block.vtx[0].vout[i].nValue),pax);
//if ( opcode == 'X' )
printf("%c errs.%d i.%d match %.8f vs %.8f pax.%p\n",opcode,errs,i,dstr(opcode == 'I' ? pax->fiatoshis : pax->komodoshis),dstr(block.vtx[0].vout[i].nValue),pax);
}
else
{
if ( opcode == 'X' )
//if ( opcode == 'X' )
{
for (j=0; j<32; j++)
printf("%02x",((uint8_t *)&txids[i-1])[j]);
printf(" cant paxfind X txid\n");
printf(" cant paxfind %c txid\n".opcode);
}
}
}
else
{
if ( opcode == 'X' )
//if ( opcode == 'X' )
{
hash = block.GetHash();
for (j=0; j<32; j++)
printf("%02x",((uint8_t *)&hash)[j]);
printf(" ht.%d blockhash X couldnt find vout.[%d]\n",height,i);
} else if ( opcode == 'I' )
matched++;
} //else if ( opcode == 'I' )
// matched++;
}
}
if ( matched != num )