This commit is contained in:
jl777
2017-11-05 12:48:02 +02:00
parent a3a7ec8592
commit f7f9608782
2 changed files with 3 additions and 2 deletions

View File

@@ -346,7 +346,7 @@ 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 ( (retval= komodo_faststateinit(sp,fname,symbol,dest)) == 0 )
if ( (retval= komodo_faststateinit(sp,fname,symbol,dest)) > 0 )
fseek(fp,0,SEEK_END);
else
{