Skip to content

Commit

Permalink
fix test sender (#2755)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Kim <[email protected]>
  • Loading branch information
joshua-kim authored Feb 20, 2024
1 parent e0738a5 commit 4ee5f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snow/engine/common/test_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func (s *SenderTest) SendAppError(ctx context.Context, nodeID ids.NodeID, reques
case s.CantSendAppError && s.T != nil:
require.FailNow(s.T, errSendAppError.Error())
}
return errSendAppResponse
return errSendAppError
}

// SendAppGossip calls SendAppGossipF if it was initialized. If it wasn't
Expand Down

0 comments on commit 4ee5f19

Please sign in to comment.