Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
5bb91189d5
  1. 4
      iguana/iguana_peers.c

4
iguana/iguana_peers.c

@ -991,7 +991,9 @@ int32_t iguana_voutsfname(struct iguana_info *coin,int32_t roflag,char *fname,in
int32_t iguana_vinsfname(struct iguana_info *coin,int32_t roflag,char *fname,int32_t slotid)
{
sprintf(fname,"%s/%s%s/%04d.vins",coin->VALIDATEDIR,roflag!=0?"ro/":"",coin->symbol,slotid);
if ( roflag != 0 )
sprintf(fname,"%s/ro/%s/purgeable/%04d.vins",coin->VALIDATEDIR,coin->symbol,slotid);
else sprintf(fname,"%s/%s/%04d.vins",coin->VALIDATEDIR,coin->symbol,slotid);
return((int32_t)strlen(fname));
}

Loading…
Cancel
Save