mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-06-28 06:12:08 +02:00
removed unnesseary redirection in storing blocks in transactions.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user