close resp chan
This commit is contained in:
parent
83416e2758
commit
09b013b7a5
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user