aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSamuel Marks <samuelmarks@gmail.com>2019-02-26 12:12:13 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:06 +0800
commit3a2de5ef153764d93b2ed421ec21b5783578285c (patch)
tree44abe6099701c9db69d22a85e0bdcbf2d1b6295a /core
parentfd05240fea5477a8a8ba3dd130325a9a1846297f (diff)
downloaddexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.gz
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.bz2
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.lz
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.xz
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.zst
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.zip
travis, appveyor, Dockerfile: upgrade to Go 1.12
Include serveral DEXON specific fixes.
Diffstat (limited to 'core')
-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 {