Skip to content

Commit

Permalink
mute removals
Browse files Browse the repository at this point in the history
  • Loading branch information
jchris committed Jun 4, 2024
1 parent ab08ac8 commit 20a7753
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/fireproof/src/crdt-clock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ export class CRDTClock {
async (tblocks: CarTransaction) => {
head = await advanceBlocks(newHead, tblocks, head)
const result = await root(tblocks, head)
for (const { cid, bytes } of [...result.additions, ...result.removals]) {
for (const { cid, bytes } of [
...result.additions
// ...result.removals
]) {
tblocks.putSync(cid, bytes)
}
return { head }
Expand Down

0 comments on commit 20a7753

Please sign in to comment.