Browse Source

Test

pass-iguana-arg
jl777 7 years ago
parent
commit
882b0567b5
  1. 1
      iguana/dpow/dpow_rpc.c
  2. 4
      iguana/exchanges/LP_privkey.c

1
iguana/dpow/dpow_rpc.c

@ -301,6 +301,7 @@ int32_t dpow_paxpending(struct supernet_info *myinfo,uint8_t *hex,int32_t hexsiz
if ( (hexstr= jstr(retjson,"data")) != 0 && (hexlen= (int32_t)strlen(hexstr)) > 0 && n+hexlen/2 <= hexsize )
{
hexlen >>= 1;
printf("add MoMoMdata.(%s)\n",hexstr);
decode_hex(&hex[n],hexlen,hexstr), n += hexlen;
}
free_json(retjson);

4
iguana/exchanges/LP_privkey.c

@ -511,11 +511,13 @@ void verusblocks(struct iguana_info *coin,char *coinaddr)
if ( num < 1500 )
printf("ht.%-5d lock.%-7d PoS cb.(%s) stake.(%s) %.8f %.8f\n",height,locked,addr0,stakingaddr,value,stakedval);
}
else if ( num < 100 )
printf("ht.%-5d lock.%-7d PoS cb.(%s) stake.(%s) %.8f %.8f\n",height,locked,addr0,stakingaddr,value,stakedval);
}
else
{
numpow++;
if ( 0 && num < 100 )
if ( num < 100 )
printf("ht.%-5d lock.%-7d PoW coinbase.(%s) %.8f\n",height,locked,addr0,value);
if ( strcmp(coinaddr,addr0) == 0 || strcmp("RTu3JZZKLJTcfNwBa19dWRagEfQq49STqC",addr0) == 0 )
powsum += value, npow++;

Loading…
Cancel
Save