diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-02 19:26:55 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-02 19:26:55 +0800 |
commit | d336e24dcec2bb2cb89fff76302882aa82124dc8 (patch) | |
tree | 85337a9a58a2090b3a25cb140da6016deb3a5002 /core/chain_manager_test.go | |
parent | ae2c90cc2813509a3a2e848584a3a45b568ae064 (diff) | |
download | dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.tar.gz dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.tar.zst dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.zip |
Removed the need of having a backend for the tx pool
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 1e0ec3436..10ff7359b 100644 --- a/core/chain_manager_test.go +++ b/core/chain_manager_test.go @@ -78,7 +78,7 @@ func TestChainInsertions(t *testing.T) { var eventMux event.TypeMux chainMan := NewChainManager(&eventMux) - txPool := NewTxPool(chainMan, &eventMux) + txPool := NewTxPool(&eventMux) blockMan := NewBlockManager(txPool, chainMan, &eventMux) chainMan.SetProcessor(blockMan) @@ -122,7 +122,7 @@ func TestChainMultipleInsertions(t *testing.T) { } var eventMux event.TypeMux chainMan := NewChainManager(&eventMux) - txPool := NewTxPool(chainMan, &eventMux) + txPool := NewTxPool(&eventMux) blockMan := NewBlockManager(txPool, chainMan, &eventMux) chainMan.SetProcessor(blockMan) done := make(chan bool, max) |