mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Merge pull request #1202 from orbitdb/fix/duplicate-put
fix: Remove duplicate put.
This commit is contained in:
commit
af79cb8235
@ -318,8 +318,6 @@ const Log = async (identity, { logId, logHeads, access, entryStorage, headsStora
|
|||||||
/* 6. Add the new entry to heads (=union with current heads) */
|
/* 6. Add the new entry to heads (=union with current heads) */
|
||||||
await _heads.add(entry)
|
await _heads.add(entry)
|
||||||
|
|
||||||
await _entries.put(entry.hash, entry.bytes)
|
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user