Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
ce3ec494f6
  1. 4
      iguana/iguana_payments.c

4
iguana/iguana_payments.c

@ -425,9 +425,9 @@ char *iguana_rawtxissue(struct supernet_info *myinfo,uint32_t rawtxtag,char *sym
{ {
if ( (coin= Coins[i]) != 0 && (n= coin->peers.numranked) > 0 ) if ( (coin= Coins[i]) != 0 && (n= coin->peers.numranked) > 0 )
{ {
for (j=0; j<n; j++) for (j=0; j<IGUANA_MAXPEERS; j++)
{ {
if ( (addr= coin->peers.ranked[j]) != 0 && addr->supernet != 0 && addr->usock >= 0 ) if ( (addr= &coin->peers.active[j]) != 0 && addr->supernet != 0 && addr->usock >= 0 )
{ {
iguana_send_supernet(coin,addr,jprint(reqjson,0),delay); iguana_send_supernet(coin,addr,jprint(reqjson,0),delay);
} }

Loading…
Cancel
Save