aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-04 04:53:33 +0800
committerobscuren <geffobscura@gmail.com>2015-06-04 04:53:33 +0800
commit140d8839018527fe64a0c1a6b79af4ccae66ec3a (patch)
tree83c98b3898e62821eeabbcf83187d53067b943c7 /core/transaction_pool_test.go
parentd09a6e54215bef8b1ac16a99f0b1d75a8a92a6a8 (diff)
downloaddexon-140d8839018527fe64a0c1a6b79af4ccae66ec3a.tar.gz
dexon-140d8839018527fe64a0c1a6b79af4ccae66ec3a.tar.zst
dexon-140d8839018527fe64a0c1a6b79af4ccae66ec3a.zip
core: test updates
Diffstat (limited to 'core/transaction_pool_test.go')
-rw-r--r--core/transaction_pool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/transaction_pool_test.go b/core/transaction_pool_test.go
index 170bdfa72..df5af9429 100644
--- a/core/transaction_pool_test.go
+++ b/core/transaction_pool_test.go
@@ -119,7 +119,7 @@ func TestRemoveTx(t *testing.T) {
from, _ := tx.From()
pool.state.AddBalance(from, big.NewInt(1))
pool.queueTx(tx.Hash(), tx)
- pool.addTx(tx.Hash(), tx)
+ pool.addTx(tx.Hash(), from, tx)
if len(pool.queue) != 1 {
t.Error("expected queue to be 1, got", len(pool.queue))
}