Skip to content
Snippets Groups Projects
Commit dabc18fc authored by Benjamin Bollen's avatar Benjamin Bollen
Browse files

for now, write tendermint priv_validator to root directory

parent 6fed7591
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ func NewTendermintNode(moduleConfig *config.ModuleConfig,
// TODO: [ben] implement the signer for Private validator over eris-keys
// TODO: [ben] copy from rootDir to tendermint workingDir;
privateValidator := tendermint_types.LoadOrGenPrivValidator(
path.Join(moduleConfig.WorkDir,
path.Join(moduleConfig.RootDir,
moduleConfig.Config.GetString("private_validator_file")))
fmt.Printf("priv: %s", privateValidator.Address)
// newNode := node.NewNode(tmintConfig, )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment