aboutsummaryrefslogtreecommitdiffstats
path: root/core/tx_pool_test.go
diff options
context:
space:
mode:
authorSamuel Marks <samuelmarks@gmail.com>2019-02-26 12:12:13 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-15 22:09:55 +0800
commit06de3ff42efa5e53e56284d08928ee598cf40751 (patch)
treec7cf316c1930eb6456fbaaeb19e699d7c3b9b20e /core/tx_pool_test.go
parent1a2059fc4e00a34fb555dff1528d6a1e88e7a1ec (diff)
downloadgo-tangerine-06de3ff42efa5e53e56284d08928ee598cf40751.tar.gz
go-tangerine-06de3ff42efa5e53e56284d08928ee598cf40751.tar.zst
go-tangerine-06de3ff42efa5e53e56284d08928ee598cf40751.zip
travis, appveyor, Dockerfile: upgrade to Go 1.12
Include serveral DEXON specific fixes.
Diffstat (limited to 'core/tx_pool_test.go')
-rw-r--r--core/tx_pool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go
index 70d4a351a..2b362bdd4 100644
--- a/core/tx_pool_test.go
+++ b/core/tx_pool_test.go
@@ -131,7 +131,7 @@ func validateEvents(events chan NewTxsEvent, count int) error {
case ev := <-events:
received = append(received, ev.Txs...)
case <-time.After(time.Second):
- return fmt.Errorf("event #%d not fired", received)
+ return fmt.Errorf("event #%d not fired", len(received))
}
}
if len(received) > count {