rpcclient: adjust WS waiter error formatting

Follow the other errors formatting style.
This commit is contained in:
Anna Shaleva 2022-11-16 12:22:18 +03:00
parent bd67fe5371
commit 3f122fd591

View file

@ -222,7 +222,7 @@ func (w *EventWaiter) WaitAny(ctx context.Context, vub uint32, hashes ...util.Ui
if wsWaitErr != nil {
res, waitErr = w.polling.WaitAny(ctx, vub, hashes...)
if waitErr != nil {
waitErr = fmt.Errorf("WS waiter error: %w, simple waiter error: %v", wsWaitErr, waitErr)
waitErr = fmt.Errorf("WS waiter error: %w; simple waiter error: %v", wsWaitErr, waitErr)
}
}
}()