test
This commit is contained in:
@@ -561,17 +561,18 @@ void komodo_passport_iteration()
|
|||||||
{
|
{
|
||||||
static long lastpos[33];
|
static long lastpos[33];
|
||||||
FILE *fp; int32_t baseid,refid; struct komodo_state *sp; char fname[512],*base,symbol[16],dest[16];
|
FILE *fp; int32_t baseid,refid; struct komodo_state *sp; char fname[512],*base,symbol[16],dest[16];
|
||||||
printf("PASSPORT\n");
|
|
||||||
if ( ASSETCHAINS_SYMBOL[0] == 0 )
|
if ( ASSETCHAINS_SYMBOL[0] == 0 )
|
||||||
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);
|
||||||
if ( refid >= 0 )
|
if ( refid >= 0 )
|
||||||
{
|
{
|
||||||
for (baseid=0; baseid<=32; baseid++)
|
for (baseid=0; baseid<=32; baseid++)
|
||||||
{
|
{
|
||||||
base = (char *)CURRENCIES[baseid];
|
|
||||||
if ( baseid != refid ) // use direct data for yourself
|
if ( baseid != refid ) // use direct data for yourself
|
||||||
{
|
{
|
||||||
|
base = (char *)CURRENCIES[baseid];
|
||||||
|
fprintf(stderr,"%s ",base);
|
||||||
komodo_statefname(fname,(char *)"");
|
komodo_statefname(fname,(char *)"");
|
||||||
komodo_nameset(symbol,dest,base);
|
komodo_nameset(symbol,dest,base);
|
||||||
if ( (fp= fopen(fname,"rb")) != 0 )
|
if ( (fp= fopen(fname,"rb")) != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user