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 21:32:59 +0800 |
commit | 1b4f1f2804f4975f58248d8933e5f74a7f827e0d (patch) | |
tree | e5163bb4e19d244fa658208d81e515560bc7f876 /core | |
parent | 47951b804128afa41197e9bdea7f0b6f24763f22 (diff) | |
download | dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.gz dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.bz2 dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.lz dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.xz dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.zst dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.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 { |