mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
removed unnesseary redirection in storing blocks in transactions.
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user