aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/chain_manager_test.go')
-rw-r--r--core/chain_manager_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_manager_test.go b/core/chain_manager_test.go
index 2ed3c6c9e..6c66961b0 100644
--- a/core/chain_manager_test.go
+++ b/core/chain_manager_test.go
@@ -71,7 +71,7 @@ func TestChainInsertions(t *testing.T) {
var eventMux event.TypeMux
chainMan := NewChainManager(&eventMux)
txPool := NewTxPool(&eventMux)
- blockMan := NewBlockManager(txPool, chainMan, &eventMux)
+ blockMan := NewBlockProcessor(txPool, chainMan, &eventMux)
chainMan.SetProcessor(blockMan)
const max = 2
@@ -115,7 +115,7 @@ func TestChainMultipleInsertions(t *testing.T) {
var eventMux event.TypeMux
chainMan := NewChainManager(&eventMux)
txPool := NewTxPool(&eventMux)
- blockMan := NewBlockManager(txPool, chainMan, &eventMux)
+ blockMan := NewBlockProcessor(txPool, chainMan, &eventMux)
chainMan.SetProcessor(blockMan)
done := make(chan bool, max)
for i, chain := range chains {