travis, appveyor, Dockerfile: upgrade to Go 1.12

This commit is contained in:
Samuel Marks
2019-02-27 14:21:02 +02:00
committed by Péter Szilágyi
parent 7ebd2fa5db
commit e43bc36226
8 changed files with 30 additions and 19 deletions
+1 -1
View File
@@ -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 {