diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-27 01:41:36 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-27 01:48:08 +0800 |
commit | ae5ace16190d48bfe7a0364fdb0b51644518ec42 (patch) | |
tree | e676f9b43b874a13fb47f642a27bfce02e425eff /ethereum/main.go | |
parent | 648c418fcd7a88fc48032c55c2dba87f6bdad8c7 (diff) | |
download | go-tangerine-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar go-tangerine-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.gz go-tangerine-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.bz2 go-tangerine-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.lz go-tangerine-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.xz go-tangerine-ae5ace16190d48bfe7a0364fdb0b51644518ec42.tar.zst go-tangerine-ae5ace16190d48bfe7a0364fdb0b51644518ec42.zip |
go fmt
Diffstat (limited to 'ethereum/main.go')
-rw-r--r-- | ethereum/main.go | 14 |
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() } |