diff options
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 7177ae9ce..e1c2e0669 100644 --- a/core/tx_pool_test.go +++ b/core/tx_pool_test.go @@ -126,7 +126,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 { |