Skip to content

Commit 20a7753

Browse files
committed
mute removals
1 parent ab08ac8 commit 20a7753

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/fireproof/src/crdt-clock.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ export class CRDTClock {
8888
async (tblocks: CarTransaction) => {
8989
head = await advanceBlocks(newHead, tblocks, head)
9090
const result = await root(tblocks, head)
91-
for (const { cid, bytes } of [...result.additions, ...result.removals]) {
91+
for (const { cid, bytes } of [
92+
...result.additions
93+
// ...result.removals
94+
]) {
9295
tblocks.putSync(cid, bytes)
9396
}
9497
return { head }

0 commit comments

Comments
 (0)