This commit is contained in:
jl777
2016-10-26 10:30:53 -03:00
parent cd1fcb48d9
commit 9dea9602b6

View File

@@ -156,7 +156,7 @@ void komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numnotar
} }
else if ( opretbuf != 0 && opretlen > 0 ) else if ( opretbuf != 0 && opretlen > 0 )
{ {
fputc('K',fp); fputc('O',fp);
if ( fwrite(&height,1,sizeof(height),fp) != sizeof(height) ) if ( fwrite(&height,1,sizeof(height),fp) != sizeof(height) )
errs++; errs++;
if ( fwrite(opretbuf,1,opretlen,fp) != opretlen ) if ( fwrite(opretbuf,1,opretlen,fp) != opretlen )