From ef541f18f6c2c274d6c2fc68a2c56d7a52c69b9e Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Wed, 17 Sep 2014 08:41:10 +0200 Subject: [PATCH] removed unnesseary redirection in storing blocks in transactions. --- cmd/mtredisalize/leveldb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mtredisalize/leveldb.go b/cmd/mtredisalize/leveldb.go index a85d8da..8a1e357 100644 --- a/cmd/mtredisalize/leveldb.go +++ b/cmd/mtredisalize/leveldb.go @@ -147,7 +147,7 @@ func (ldbs *LevelDBSession) Store(hash, key, value []byte) (exists bool, err err return } wo := leveldb.NewWriteOptions() - err = ldbs.backend.db.Put(wo, key, value) + err = db.Put(wo, key, value) wo.Close() }) return