mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-30 12:02:53 +00:00
Refactor priv_validator
Users can now just pass an object that implements the Signer interface.
This commit is contained in:
committed by
Ethan Buchman
parent
0d392a0442
commit
7dd3c007c7
+1
-1
@@ -60,7 +60,7 @@ type Node struct {
|
||||
|
||||
func NewNodeDefault(config *cfg.Config, logger log.Logger) *Node {
|
||||
// Get PrivValidator
|
||||
privValidator := types.LoadOrGenPrivValidator(config.PrivValidatorFile(), logger)
|
||||
privValidator := types.LoadOrGenPrivValidator(config.PrivValidatorFile())
|
||||
return NewNode(config, privValidator,
|
||||
proxy.DefaultClientCreator(config.ProxyApp, config.ABCI, config.DBDir()), logger)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user