Browse Source

Merge pull request #461 from tendermint/release-v0.9.2

Release v0.9.2
pull/390/merge v0.9.2
Ethan Buchman 8 years ago
committed by GitHub
parent
commit
f6e28c4975
3 changed files with 12 additions and 6 deletions
  1. +7
    -1
      CHANGELOG.md
  2. +3
    -3
      cmd/tendermint/commands/reset_priv_validator.go
  3. +2
    -2
      version/version.go

+ 7
- 1
CHANGELOG.md View File

@ -1,6 +1,12 @@
# Changelog
## 0.9.1 (April 18, 2017)
## 0.9.2 (April 26, 2017)
BUG FIXES:
- Fix bug in `ResetPrivValidator` where we were using the global config and log (causing external consumers, eg. basecoin, to fail).
## 0.9.1 (April 21, 2017)
FEATURES:


+ 3
- 3
cmd/tendermint/commands/reset_priv_validator.go View File

@ -48,15 +48,15 @@ func ResetAll(c cfg.Config, l log15.Logger) {
func ResetPrivValidator(c cfg.Config, l log15.Logger) {
// Get PrivValidator
var privValidator *types.PrivValidator
privValidatorFile := config.GetString("priv_validator_file")
privValidatorFile := c.GetString("priv_validator_file")
if _, err := os.Stat(privValidatorFile); err == nil {
privValidator = types.LoadPrivValidator(privValidatorFile)
privValidator.Reset()
log.Notice("Reset PrivValidator", "file", privValidatorFile)
l.Notice("Reset PrivValidator", "file", privValidatorFile)
} else {
privValidator = types.GenPrivValidator()
privValidator.SetFile(privValidatorFile)
privValidator.Save()
log.Notice("Generated PrivValidator", "file", privValidatorFile)
l.Notice("Generated PrivValidator", "file", privValidatorFile)
}
}

+ 2
- 2
version/version.go View File

@ -2,6 +2,6 @@ package version
const Maj = "0"
const Min = "9"
const Fix = "1"
const Fix = "2"
const Version = "0.9.1"
const Version = "0.9.2"

Loading…
Cancel
Save