travis, appveyor, Dockerfile: upgrade to Go 1.12
This commit is contained in:
committed by
Péter Szilágyi
parent
7ebd2fa5db
commit
e43bc36226
@ -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 {
|
||||
|
Reference in New Issue
Block a user