close resp chan

This commit is contained in:
Jeromy 2020-04-09 10:35:43 -07:00
parent 83416e2758
commit 09b013b7a5

View File

@ -42,6 +42,7 @@ func (db *DrandBeacon) Entry(ctx context.Context, round uint64) <-chan beacon.Re
out := make(chan beacon.Response, 1) out := make(chan beacon.Response, 1)
out <- br out <- br
close(out)
return out return out
} }