aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-27 01:45:57 +0800
committerzelig <viktor.tron@gmail.com>2014-06-27 01:45:57 +0800
commit853053a3b204ddf4ae935e70e0aa5b5d8994493e (patch)
tree8e86c3aa0f913288f2a789c3517444e6fe0583b9 /ethchain
parentda38faa8f7c0f2a6620b54e46fc38a201845e104 (diff)
downloaddexon-853053a3b204ddf4ae935e70e0aa5b5d8994493e.tar
dexon-853053a3b204ddf4ae935e70e0aa5b5d8994493e.tar.gz
dexon-853053a3b204ddf4ae935e70e0aa5b5d8994493e.tar.bz2
dexon-853053a3b204ddf4ae935e70e0aa5b5d8994493e.tar.lz
dexon-853053a3b204ddf4ae935e70e0aa5b5d8994493e.tar.xz
dexon-853053a3b204ddf4ae935e70e0aa5b5d8994493e.tar.zst
dexon-853053a3b204ddf4ae935e70e0aa5b5d8994493e.zip
go fmt
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/block_chain.go2
-rw-r--r--ethchain/dagger.go3
-rw-r--r--ethchain/state_manager.go2
-rw-r--r--ethchain/transaction_pool.go2
-rw-r--r--ethchain/vm.go2
5 files changed, 5 insertions, 6 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go
index 05b2564cf..d0fea6641 100644
--- a/ethchain/block_chain.go
+++ b/ethchain/block_chain.go
@@ -2,9 +2,9 @@ package ethchain
import (
"bytes"
+ "github.com/ethereum/eth-go/ethlog"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/ethwire"
- "github.com/ethereum/eth-go/ethlog"
"math"
"math/big"
)
diff --git a/ethchain/dagger.go b/ethchain/dagger.go
index 43725e336..08c4826db 100644
--- a/ethchain/dagger.go
+++ b/ethchain/dagger.go
@@ -1,8 +1,8 @@
package ethchain
import (
- "github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/ethlog"
+ "github.com/ethereum/eth-go/ethutil"
"github.com/obscuren/sha3"
"hash"
"math/big"
@@ -31,7 +31,6 @@ func (pow *EasyPow) Search(block *Block, reactChan chan ethutil.React) []byte {
for {
select {
case <-reactChan:
- //powlogger.Infoln("Received reactor event; breaking out.")
return nil
default:
i++
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index e5941b165..312ba3084 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -3,9 +3,9 @@ package ethchain
import (
"bytes"
"container/list"
+ "github.com/ethereum/eth-go/ethlog"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/ethwire"
- "github.com/ethereum/eth-go/ethlog"
"math/big"
"sync"
"time"
diff --git a/ethchain/transaction_pool.go b/ethchain/transaction_pool.go
index 44218ae28..6ab8d83d9 100644
--- a/ethchain/transaction_pool.go
+++ b/ethchain/transaction_pool.go
@@ -4,8 +4,8 @@ import (
"bytes"
"container/list"
"fmt"
- "github.com/ethereum/eth-go/ethwire"
"github.com/ethereum/eth-go/ethlog"
+ "github.com/ethereum/eth-go/ethwire"
"math/big"
"sync"
)
diff --git a/ethchain/vm.go b/ethchain/vm.go
index 20d355674..82591e274 100644
--- a/ethchain/vm.go
+++ b/ethchain/vm.go
@@ -2,8 +2,8 @@ package ethchain
import (
"fmt"
- "github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/ethlog"
+ "github.com/ethereum/eth-go/ethutil"
"math"
"math/big"
)