diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index b5b0e3dbd..3282220ee 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -561,17 +561,18 @@ void komodo_passport_iteration() { static long lastpos[33]; 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 ) refid = 32; else refid = komodo_baseid(ASSETCHAINS_SYMBOL); + printf("PASSPORT %s refid.%d\n",ASSETCHAINS_SYMBOL,refid); if ( refid >= 0 ) { for (baseid=0; baseid<=32; baseid++) { - base = (char *)CURRENCIES[baseid]; if ( baseid != refid ) // use direct data for yourself { + base = (char *)CURRENCIES[baseid]; + fprintf(stderr,"%s ",base); komodo_statefname(fname,(char *)""); komodo_nameset(symbol,dest,base); if ( (fp= fopen(fname,"rb")) != 0 )