good morning!!!!

Skip to content
Snippets Groups Projects
Commit ca0f04cf authored by Manav Darji's avatar Manav Darji
Browse files

add developer enabled check for mining

parent f86b79ed
No related branches found
Tags v0.1.3
No related merge requests found
......@@ -107,8 +107,8 @@ func NewServer(config *Config) (*Server, error) {
stack.AccountManager().AddBackend(keystore.NewKeyStore(keydir, n, p))
}
// sealing (if enabled)
if config.Sealer.Enabled {
// sealing (if enabled) or in dev mode
if config.Sealer.Enabled || config.Developer.Enabled {
if err := backend.StartMining(1); err != nil {
return nil, err
}
......
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