diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index ff3a8a7e3..cdf345e26 100755 --- a/iguana/iguana_peers.c +++ b/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)); }