aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum/main.go')
-rw-r--r--ethereum/main.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/ethereum/main.go b/ethereum/main.go
index 93b2b47d3..6b1995eec 100644
--- a/ethereum/main.go
+++ b/ethereum/main.go
@@ -1,8 +1,8 @@
package main
import (
- "github.com/ethereum/go-ethereum/utils"
"github.com/ethereum/eth-go/ethlog"
+ "github.com/ethereum/go-ethereum/utils"
"runtime"
)
@@ -24,11 +24,11 @@ func main() {
ethereum := utils.NewEthereum(UseUPnP, OutboundPort, MaxPeer)
// create, import, export keys
- utils.KeyTasks(GenAddr, ImportKey, ExportKey, NonInteractive)
+ utils.KeyTasks(GenAddr, ImportKey, ExportKey, NonInteractive)
- if ShowGenesis {
- utils.ShowGenesis(ethereum)
- }
+ if ShowGenesis {
+ utils.ShowGenesis(ethereum)
+ }
if StartMining {
utils.StartMining(ethereum)
@@ -48,6 +48,6 @@ func main() {
utils.StartEthereum(ethereum, UseSeed)
// this blocks the thread
- ethereum.WaitForShutdown()
- ethlog.Flush()
+ ethereum.WaitForShutdown()
+ ethlog.Flush()
}