removed unnesseary redirection in storing blocks in transactions.

This commit is contained in:
Sascha L. Teichmann 2014-09-17 08:41:10 +02:00
parent 44a0d097c0
commit ef541f18f6

View File

@ -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