mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
Fixed tests
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/consensus"
|
||||
"github.com/tendermint/tendermint/state"
|
||||
)
|
||||
|
||||
func gen_validator() {
|
||||
@@ -17,7 +17,7 @@ func gen_validator() {
|
||||
}
|
||||
|
||||
// Generate private validator
|
||||
privValidator := consensus.GenPrivValidator()
|
||||
privValidator := state.GenPrivValidator()
|
||||
privValidator.Save()
|
||||
fmt.Printf("Generated a new validator at %v\n", filename)
|
||||
}
|
||||
|
Reference in New Issue
Block a user