aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-11 23:12:51 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-06-15 14:22:37 +0800
commitfaae8b7dd844f4faa2b9e2c8ce76246341ed7357 (patch)
tree51b04a8473448099bde72fc683e91f8c0f59a1b1 /eth
parent2dd6a62f67a217cc2186f04d7d99565f7782c79b (diff)
downloadgo-tangerine-faae8b7dd844f4faa2b9e2c8ce76246341ed7357.tar
go-tangerine-faae8b7dd844f4faa2b9e2c8ce76246341ed7357.tar.gz
go-tangerine-faae8b7dd844f4faa2b9e2c8ce76246341ed7357.tar.bz2
go-tangerine-faae8b7dd844f4faa2b9e2c8ce76246341ed7357.tar.lz
go-tangerine-faae8b7dd844f4faa2b9e2c8ce76246341ed7357.tar.xz
go-tangerine-faae8b7dd844f4faa2b9e2c8ce76246341ed7357.tar.zst
go-tangerine-faae8b7dd844f4faa2b9e2c8ce76246341ed7357.zip
eth: fix an accidental test compile error
Diffstat (limited to 'eth')
-rw-r--r--eth/protocol_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/eth/protocol_test.go b/eth/protocol_test.go
index bbea9fc11..69d487c71 100644
--- a/eth/protocol_test.go
+++ b/eth/protocol_test.go
@@ -11,7 +11,6 @@ import (
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
- "github.com/ethereum/go-ethereum/eth/downloader"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/p2p"
@@ -168,8 +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}
- dl = downloader.New(em, chain.HasBlock, chain.GetBlock)
- pm = NewProtocolManager(ProtocolVersion, 0, em, txpool, chain, dl)
+ pm = NewProtocolManager(ProtocolVersion, 0, em, txpool, chain)
)
pm.Start()
return pm