Browse Source

Test

pass-iguana-arg
jl777 7 years ago
parent
commit
aed4c6eb2c
  1. 5
      iguana/exchanges/LP_nativeDEX.c

5
iguana/exchanges/LP_nativeDEX.c

@ -931,6 +931,7 @@ void verusblocks(struct iguana_info *coin)
{ {
decode_hex(script,34,hexstr); decode_hex(script,34,hexstr);
bitcoin_address(coin->symbol,firstaddr,coin->taddr,coin->pubtype,&script[12],20); bitcoin_address(coin->symbol,firstaddr,coin->taddr,coin->pubtype,&script[12],20);
printf("%s\n",&hexstr[24]);
} }
else else
{ {
@ -963,14 +964,14 @@ void verusblocks(struct iguana_info *coin)
if ( lastaddr != 0 && addr0 != 0 && strcmp(lastaddr,addr0) == 0 ) if ( lastaddr != 0 && addr0 != 0 && strcmp(lastaddr,addr0) == 0 )
{ {
numpos++; numpos++;
printf("height.%d locked.%d PoS %s %.8f\n",height,locked,lastaddr,value); printf("height.%d locked.%d PoS addr0.%s %s %.8f\n",height,locked,addr0,lastaddr,value);
if ( strcmp(coin->smartaddr,lastaddr) == 0 ) if ( strcmp(coin->smartaddr,lastaddr) == 0 )
possum += value; possum += value;
} }
else else
{ {
numpow++; numpow++;
printf("height.%d locked.%d PoW %s %.8f\n",height,locked,addr0,value); printf("height.%d locked.%d PoW addr0.%s %s %.8f\n",height,locked,addr0,lastaddr,value);
if ( strcmp(coin->smartaddr,addr0) == 0 ) if ( strcmp(coin->smartaddr,addr0) == 0 )
powsum += value; powsum += value;
} }

Loading…
Cancel
Save