diff --git a/src/komodo.h b/src/komodo.h index efa8a755f..3e0cf468d 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -271,6 +271,7 @@ int32_t komodo_stateupdate(uint8_t notarypubs[][33],uint8_t numnotaries,int32_t if ( fwrite(&NOTARIZED_BTCHASH,1,sizeof(NOTARIZED_BTCHASH),fp) != sizeof(NOTARIZED_BTCHASH) ) errs++; } + fflush(fp); } }