diff --git a/flexidag/src/consensusdb/db.rs b/flexidag/src/consensusdb/db.rs index 72632d11db..96c846c534 100644 --- a/flexidag/src/consensusdb/db.rs +++ b/flexidag/src/consensusdb/db.rs @@ -104,7 +104,7 @@ impl FlexiDagStorage { } pub fn write_batch(&self, batch: WriteBatch) -> Result<(), StoreError> { - self.db.raw_write_batch_sync(batch).map_err(|e| { + self.db.raw_write_batch(batch).map_err(|e| { StoreError::DBIoError(format!( "failed to write in batch for dag data, error: {:?}", e.to_string()