From 65f42d3d015c768b700890337b8b26206a75c898 Mon Sep 17 00:00:00 2001 From: joe miller Date: Fri, 26 Jul 2019 15:33:21 -0700 Subject: [PATCH] bug: error channel should be big enough to hold possible errors from all stored tokens, else the channel could block forever --- cmd/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/list.go b/cmd/list.go index d940542..dcf7b1e 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -72,7 +72,7 @@ func extendedList() error { fmt.Fprintln(w, "----------\t------------\t---\t---------\t--------\t") outCh := make(chan string, len(addrs)) - errCh := make(chan error, 1) + errCh := make(chan error, len(addrs)) for _, addr := range addrs { wg.Add(1)