diff options
author | Samuel Marks <samuelmarks@gmail.com> | 2019-02-26 12:12:13 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:06 +0800 |
commit | 3a2de5ef153764d93b2ed421ec21b5783578285c (patch) | |
tree | 44abe6099701c9db69d22a85e0bdcbf2d1b6295a /core | |
parent | fd05240fea5477a8a8ba3dd130325a9a1846297f (diff) | |
download | dexon-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.go | 2 |
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 { |