about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--svc/leveldb.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/svc/leveldb.go b/svc/leveldb.go
index 455d8b9..c39bcbf 100644
--- a/svc/leveldb.go
+++ b/svc/leveldb.go
@@ -13,7 +13,7 @@ type dbLevel struct {
 	db *leveldb.DB
 }
 
-func (lvl dbLevel) push() error {
+func (lvl *dbLevel) push() error {
 
 	twtxtCache.Mu.RLock()
 	var dbBasket = &leveldb.Batch{}
@@ -45,7 +45,7 @@ func (lvl dbLevel) push() error {
 	return lvl.db.Write(dbBasket, nil)
 }
 
-func (lvl dbLevel) pull() {
+func (lvl *dbLevel) pull() {
 
 	iter := lvl.db.NewIterator(nil, nil)