aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r--cmd/utils/cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index e39655403..96590b20f 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -266,7 +266,7 @@ func StartMining(ethereum *eth.Ethereum) bool {
go func() {
clilogger.Infoln("Start mining")
if gminer == nil {
- gminer = miner.NewDefaultMiner(addr, ethereum)
+ gminer = miner.New(addr, ethereum)
}
// Give it some time to connect with peers
time.Sleep(3 * time.Second)