diff --git a/codex/stores/repostore/store.nim b/codex/stores/repostore/store.nim index 5aa3a440..4b943ec2 100644 --- a/codex/stores/repostore/store.nim +++ b/codex/stores/repostore/store.nim @@ -124,7 +124,7 @@ method putCidAndProofBatch*( results = newSeq[StoreResult](entries.len) lock = self.locks.mgetOrPut(treeCid, newAsyncLock()) treeIndex = startIndex - echo "Adding cid and proofs", entries.len + try: await lock.acquire() for i, entry in entries: