test
This commit is contained in:
@@ -565,11 +565,9 @@ void komodo_passport_iteration()
|
|||||||
refid = 32;
|
refid = 32;
|
||||||
else refid = komodo_baseid(ASSETCHAINS_SYMBOL);
|
else refid = komodo_baseid(ASSETCHAINS_SYMBOL);
|
||||||
//printf("PASSPORT %s refid.%d\n",ASSETCHAINS_SYMBOL,refid);
|
//printf("PASSPORT %s refid.%d\n",ASSETCHAINS_SYMBOL,refid);
|
||||||
if ( refid >= 0 )
|
|
||||||
{
|
|
||||||
for (baseid=0; baseid<=32; baseid++)
|
for (baseid=0; baseid<=32; baseid++)
|
||||||
{
|
{
|
||||||
if ( baseid != refid ) // use direct data for yourself
|
if ( baseid != refid )
|
||||||
{
|
{
|
||||||
base = (char *)CURRENCIES[baseid];
|
base = (char *)CURRENCIES[baseid];
|
||||||
komodo_statefname(fname,baseid<32?base:(char *)"");
|
komodo_statefname(fname,baseid<32?base:(char *)"");
|
||||||
@@ -587,9 +585,8 @@ void komodo_passport_iteration()
|
|||||||
} //else fprintf(stderr,"%s.%ld ",CURRENCIES[baseid],ftell(fp));
|
} //else fprintf(stderr,"%s.%ld ",CURRENCIES[baseid],ftell(fp));
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
} else printf("fname.(%s) cant open\n",fname);
|
} else printf("fname.(%s) cant open\n",fname);
|
||||||
|
} // else use direct data for self via connect
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else printf("passport disabled for refid.%d (%s)\n",refid,ASSETCHAINS_SYMBOL);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user