From de83bbfafad12e4c157231b2b0595b1aff908f40 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Mon, 16 Oct 2023 14:51:52 -0700 Subject: [PATCH] fix lint error --- waku/v2/protocol/relay/waku_relay_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/waku/v2/protocol/relay/waku_relay_test.go b/waku/v2/protocol/relay/waku_relay_test.go index 44511121b..e7a9db47c 100644 --- a/waku/v2/protocol/relay/waku_relay_test.go +++ b/waku/v2/protocol/relay/waku_relay_test.go @@ -81,7 +81,9 @@ func createRelayNode(t *testing.T) (host.Host, *WakuRelay) { bcaster := NewBroadcaster(10) relay := NewWakuRelay(bcaster, 0, timesource.NewDefaultClock(), prometheus.DefaultRegisterer, utils.Logger()) relay.SetHost(host) - bcaster.Start(context.Background()) + err = bcaster.Start(context.Background()) + require.NoError(t, err) + return host, relay }