mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/storage/localstore: remove named values from Hasser.Has
This commit is contained in:
parent
257da0d88d
commit
62807b7032
1 changed files with 1 additions and 1 deletions
|
|
@ -34,6 +34,6 @@ func (db *DB) NewHasser() *Hasser {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Has returns true if the chunk is stored in database.
|
// Has returns true if the chunk is stored in database.
|
||||||
func (h *Hasser) Has(addr chunk.Address) (yes bool, err error) {
|
func (h *Hasser) Has(addr chunk.Address) (bool, error) {
|
||||||
return h.db.retrievalDataIndex.Has(addressToItem(addr))
|
return h.db.retrievalDataIndex.Has(addressToItem(addr))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue