From 0f062cb38df83c99b4846d3254b2fc1e7c228919 Mon Sep 17 00:00:00 2001 From: Hayden Young Date: Fri, 1 Nov 2024 11:23:07 +0000 Subject: [PATCH] fix: Remove duplicate put. --- src/oplog/log.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/oplog/log.js b/src/oplog/log.js index 8ce693f..dd76c8c 100644 --- a/src/oplog/log.js +++ b/src/oplog/log.js @@ -318,8 +318,6 @@ const Log = async (identity, { logId, logHeads, access, entryStorage, headsStora /* 6. Add the new entry to heads (=union with current heads) */ await _heads.add(entry) - await _entries.put(entry.hash, entry.bytes) - return true }