Fixed mtredisalize LevelDB backend which did not broadcast changes.

This commit is contained in:
Sascha L. Teichmann 2017-05-14 18:35:45 +02:00
parent b4d02f1484
commit e0040226c5

View File

@ -189,7 +189,6 @@ func (ldbs *LevelDBSession) Store(hash, key, value []byte) (exists bool, err err
}
if ldbs.tx != nil {
ldbs.tx.Put(key, value)
return
} else {
wo := leveldb.NewWriteOptions()
err = ldbs.backend.db.Put(wo, key, value)