Skip to content

Commit 780d75b

Browse files
committed
Fix ArchiveSlice::add_file_cont
1 parent 796f511 commit 780d75b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

validator/db/archive-slice.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ void ArchiveSlice::add_file_cont(size_t idx, FileReference ref_id, td::uint64 of
371371
kv_->set(ref_id.hash().to_hex(), td::to_string(offset)).ensure();
372372
}
373373
commit_transaction(std::move(promise));
374-
promise.set_value(td::Unit());
375374
}
376375

377376
void ArchiveSlice::get_handle(BlockIdExt block_id, td::Promise<BlockHandle> promise) {

0 commit comments

Comments
 (0)