diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-05-26 18:40:47 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-05-29 16:29:46 +0800 |
commit | 08959bbc70ade02109c819fdee72be1ed9310726 (patch) | |
tree | cfa633babd7910a5b081b5f89f0d25dc80a02add /core/tx_list_test.go | |
parent | dd5ed01f3b5ff5e426c9e2e4a55a8b05b10bc78d (diff) | |
download | dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.gz dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.bz2 dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.lz dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.xz dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.zst dexon-08959bbc70ade02109c819fdee72be1ed9310726.zip |
cmd, core, eth: configurable txpool parameters
Diffstat (limited to 'core/tx_list_test.go')
-rw-r--r-- | core/tx_list_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tx_list_test.go b/core/tx_list_test.go index 92b211937..b4f0b5228 100644 --- a/core/tx_list_test.go +++ b/core/tx_list_test.go @@ -38,7 +38,7 @@ func TestStrictTxListAdd(t *testing.T) { // Insert the transactions in a random order list := newTxList(true) for _, v := range rand.Perm(len(txs)) { - list.Add(txs[v]) + list.Add(txs[v], DefaultTxPoolConfig.PriceBump) } // Verify internal state if len(list.txs.items) != len(txs) { |