1
0
mirror of https://bitbucket.org/s_l_teichmann/mtsatellite synced 2025-07-04 09:00:48 +02:00

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

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