Merge pull request #1202 from orbitdb/fix/duplicate-put

fix: Remove duplicate put.
This commit is contained in:
Hayden Young 2024-11-01 20:28:30 +08:00 committed by GitHub
commit af79cb8235
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}