Skip to content

Commit 9dfa926

Browse files
guggeroRoasbeef
authored andcommitted
server: fix linter issue
1 parent c0cfa06 commit 9dfa926

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ func (sp *serverPeer) OnGetData(_ *peer.Peer, msg *wire.MsgGetData) {
767767

768768
err := sp.server.pushInventory(sp, iv, doneChan)
769769
if err != nil {
770-
failedMsg.AddInvVect(iv)
770+
_ = failedMsg.AddInvVect(iv)
771771
}
772772

773773
// Move to the next item if we haven't processed 5 times yet.

0 commit comments

Comments
 (0)