diff options
Diffstat (limited to 'core/chain_manager_test.go')
-rw-r--r-- | core/chain_manager_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_manager_test.go b/core/chain_manager_test.go index bf172f3bf..19afe0d5c 100644 --- a/core/chain_manager_test.go +++ b/core/chain_manager_test.go @@ -255,7 +255,7 @@ func TestChainInsertions(t *testing.T) { var eventMux event.TypeMux chainMan := NewChainManager(db, db, &eventMux) - txPool := NewTxPool(&eventMux) + txPool := NewTxPool(&eventMux, chainMan.State) blockMan := NewBlockProcessor(db, db, nil, txPool, chainMan, &eventMux) chainMan.SetProcessor(blockMan) @@ -301,7 +301,7 @@ func TestChainMultipleInsertions(t *testing.T) { } var eventMux event.TypeMux chainMan := NewChainManager(db, db, &eventMux) - txPool := NewTxPool(&eventMux) + txPool := NewTxPool(&eventMux, chainMan.State) blockMan := NewBlockProcessor(db, db, nil, txPool, chainMan, &eventMux) chainMan.SetProcessor(blockMan) done := make(chan bool, max) |