This commit is contained in:
jl777
2016-10-26 17:25:29 -03:00
parent 4d272ae4b5
commit 552bdf22f5
2 changed files with 6 additions and 5 deletions

View File

@@ -186,8 +186,8 @@ int32_t PAX_pubkey(int32_t rwflag,uint8_t *pubkey33,uint8_t *addrtypep,uint8_t r
{
*shortflagp = (pubkey33[0] == 0x03);
memcpy(fiat,&pubkey33[1],3);
printf("%02x %02x %02x\n",fiat[0],fiat[1],fiat[2]);
fiat[3] = 0;
printf("%02x %02x %02x (%s)\n",fiat[0],fiat[1],fiat[2],fiat);
iguana_rwnum(rwflag,&pubkey33[4],sizeof(*fiatoshisp),(void *)fiatoshisp);
if ( *shortflagp != 0 )
*fiatoshisp = -(*fiatoshisp);