aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-18 23:25:27 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-06-18 23:25:27 +0800
commit90d45f0397666cce42657849257a6f4f7cd2381c (patch)
tree75a58db16b6f1f703ee5fbf00ed7975153afd0d9
parentb91b581b80ec99dfa07b7206104faa919210fc4f (diff)
downloaddexon-90d45f0397666cce42657849257a6f4f7cd2381c.tar
dexon-90d45f0397666cce42657849257a6f4f7cd2381c.tar.gz
dexon-90d45f0397666cce42657849257a6f4f7cd2381c.tar.bz2
dexon-90d45f0397666cce42657849257a6f4f7cd2381c.tar.lz
dexon-90d45f0397666cce42657849257a6f4f7cd2381c.tar.xz
dexon-90d45f0397666cce42657849257a6f4f7cd2381c.tar.zst
dexon-90d45f0397666cce42657849257a6f4f7cd2381c.zip
eth: fix test breakage from the previous commit
-rw-r--r--eth/handler.go1
-rw-r--r--eth/protocol_test.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/eth/handler.go b/eth/handler.go
index 88e340256..a5986b779 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -7,7 +7,6 @@ import (
"time"
"github.com/ethereum/go-ethereum/pow"
-
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
diff --git a/eth/protocol_test.go b/eth/protocol_test.go
index 69d487c71..6e0eef59c 100644
--- a/eth/protocol_test.go
+++ b/eth/protocol_test.go
@@ -167,7 +167,7 @@ func newProtocolManagerForTesting(txAdded chan<- []*types.Transaction) *Protocol
db, _ = ethdb.NewMemDatabase()
chain, _ = core.NewChainManager(core.GenesisBlock(0, db), db, db, core.FakePow{}, em)
txpool = &fakeTxPool{added: txAdded}
- pm = NewProtocolManager(ProtocolVersion, 0, em, txpool, chain)
+ pm = NewProtocolManager(ProtocolVersion, 0, em, txpool, core.FakePow{}, chain)
)
pm.Start()
return pm