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/transaction_pool_test.go | |
parent | ae2c90cc2813509a3a2e848584a3a45b568ae064 (diff) | |
download | dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.tar dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.tar.gz dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.tar.bz2 dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.tar.lz dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.tar.xz dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.tar.zst dexon-d336e24dcec2bb2cb89fff76302882aa82124dc8.zip |
Removed the need of having a backend for the tx pool
Diffstat (limited to 'core/transaction_pool_test.go')
-rw-r--r-- | core/transaction_pool_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/transaction_pool_test.go b/core/transaction_pool_test.go index 1214ad903..e77d7a1ae 100644 --- a/core/transaction_pool_test.go +++ b/core/transaction_pool_test.go @@ -25,7 +25,7 @@ func transaction() *types.Transaction { func setup() (*TxPool, *ecdsa.PrivateKey) { var m event.TypeMux key, _ := crypto.GenerateKey() - return NewTxPool(stateQuery{}, &m), key + return NewTxPool(&m), key } func TestTxAdding(t *testing.T) { |