mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-17 15:48:17 +01:00
Merged.
This commit is contained in:
commit
10be491898
@ -189,7 +189,6 @@ func (ldbs *LevelDBSession) Store(hash, key, value []byte) (exists bool, err err
|
|||||||
}
|
}
|
||||||
if ldbs.tx != nil {
|
if ldbs.tx != nil {
|
||||||
ldbs.tx.Put(key, value)
|
ldbs.tx.Put(key, value)
|
||||||
return
|
|
||||||
} else {
|
} else {
|
||||||
wo := leveldb.NewWriteOptions()
|
wo := leveldb.NewWriteOptions()
|
||||||
err = ldbs.backend.db.Put(wo, key, value)
|
err = ldbs.backend.db.Put(wo, key, value)
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
const MTSatelliteVersion = "0.9"
|
const MTSatelliteVersion = "0.9.1"
|
||||||
|
|
||||||
func PrintVersionAndExit() {
|
func PrintVersionAndExit() {
|
||||||
fmt.Printf("Version: %s\n", MTSatelliteVersion)
|
fmt.Printf("Version: %s\n", MTSatelliteVersion)
|
||||||
|
Loading…
Reference in New Issue
Block a user