aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/dbstore.go
diff options
context:
space:
mode:
authorMaksim <mchusovlianov@gmail.com>2017-02-09 01:01:12 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-02-09 01:01:12 +0800
commit6dd27e7cff818493356ddecd8918b69fb18b998a (patch)
treef90e05a601acc2b5934e3398e3fdbd38eef3d0d6 /swarm/storage/dbstore.go
parentfa99986143fe3dec08cdffcff9185e3700719edd (diff)
downloadgo-tangerine-6dd27e7cff818493356ddecd8918b69fb18b998a.tar
go-tangerine-6dd27e7cff818493356ddecd8918b69fb18b998a.tar.gz
go-tangerine-6dd27e7cff818493356ddecd8918b69fb18b998a.tar.bz2
go-tangerine-6dd27e7cff818493356ddecd8918b69fb18b998a.tar.lz
go-tangerine-6dd27e7cff818493356ddecd8918b69fb18b998a.tar.xz
go-tangerine-6dd27e7cff818493356ddecd8918b69fb18b998a.tar.zst
go-tangerine-6dd27e7cff818493356ddecd8918b69fb18b998a.zip
swarm/storage: release chunk storage after stop swarm (#3651)
closes #3650
Diffstat (limited to 'swarm/storage/dbstore.go')
-rw-r--r--swarm/storage/dbstore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/storage/dbstore.go b/swarm/storage/dbstore.go
index 4ddebb021..f5d124d29 100644
--- a/swarm/storage/dbstore.go
+++ b/swarm/storage/dbstore.go
@@ -408,7 +408,7 @@ func (s *DbStore) getEntryCnt() uint64 {
return s.entryCnt
}
-func (s *DbStore) close() {
+func (s *DbStore) Close() {
s.db.Close()
}