mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-07-04 03:22:31 +00:00
fix: Remove duplicate put.
This commit is contained in:
parent
497cf43cc7
commit
0f062cb38d
@ -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