mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
swarm/storage/localstore: remove repeated index change
This commit is contained in:
parent
c42306082b
commit
c5a645637c
1 changed files with 0 additions and 1 deletions
|
|
@ -120,7 +120,6 @@ func (db *DB) put(mode ModePut, item shed.Item) (err error) {
|
||||||
gcSizeChange++
|
gcSizeChange++
|
||||||
|
|
||||||
db.retrievalDataIndex.PutInBatch(batch, item)
|
db.retrievalDataIndex.PutInBatch(batch, item)
|
||||||
db.retrievalAccessIndex.PutInBatch(batch, item)
|
|
||||||
|
|
||||||
case ModePutUpload:
|
case ModePutUpload:
|
||||||
// put to indexes: retrieve, push, pull
|
// put to indexes: retrieve, push, pull
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue