diff options
author | Samuel Marks <samuelmarks@gmail.com> | 2019-02-26 12:12:13 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | 06de3ff42efa5e53e56284d08928ee598cf40751 (patch) | |
tree | c7cf316c1930eb6456fbaaeb19e699d7c3b9b20e /core/tx_pool_test.go | |
parent | 1a2059fc4e00a34fb555dff1528d6a1e88e7a1ec (diff) | |
download | go-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.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 { |