diff --git a/discovery/syncer_test.go b/discovery/syncer_test.go index 72ad2ce47..faef40bbe 100644 --- a/discovery/syncer_test.go +++ b/discovery/syncer_test.go @@ -94,6 +94,8 @@ func (m *mockChannelGraphTimeSeries) UpdatesInHorizon(chain chainhash.Hash, chain, startTime, endTime, } + // We'll get the response from the channel, then yield it + // immediately. msgs := <-m.horizonResp for _, msg := range msgs { if !yield(msg, nil) {