From c5abbe6ab40eb7c6acf99b893fc3947facd57caa Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 24 Oct 2022 15:27:25 -0400 Subject: [PATCH] cleanup: remove error from function that doesn't error --- blocksync/reactor.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blocksync/reactor.go b/blocksync/reactor.go index b26e87174..ff435981e 100644 --- a/blocksync/reactor.go +++ b/blocksync/reactor.go @@ -409,10 +409,9 @@ FOR_LOOP: } // BroadcastStatusRequest broadcasts `BlockStore` base and height. -func (bcR *Reactor) BroadcastStatusRequest() error { +func (bcR *Reactor) BroadcastStatusRequest() { bcR.Switch.Broadcast(p2p.Envelope{ ChannelID: BlocksyncChannel, Message: &bcproto.StatusRequest{}, }) - return nil }