Revert "test"

This reverts commit 16b911e0bf.
This commit is contained in:
jl777
2016-12-07 12:46:39 +02:00
parent 0126d891aa
commit 368c61bccf
2 changed files with 4 additions and 18 deletions

View File

@@ -200,11 +200,8 @@ void komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numnotar
komodo_statefname(fname,ASSETCHAINS_SYMBOL,(char *)"komodostate");
if ( (fp= fopen(fname,"rb+")) != 0 )
{
if ( ASSETCHAINS_SYMBOL[0] == 0 )
{
while ( komodo_parsestatefile(sp,fp,symbol,dest) >= 0 )
;
} else fseek(fp,0,SEEK_END);
while ( komodo_parsestatefile(sp,fp,symbol,dest) >= 0 )
;
} else fp = fopen(fname,"wb+");
printf("fname.(%s) fpos.%ld\n",fname,ftell(fp));
KOMODO_INITDONE = (uint32_t)time(NULL);