@@ -134,10 +134,10 @@ func TestRequestAnyRequestsRoutingAndResponse(t *testing.T) {
134134func TestAppRequestOnCtxCancellation (t * testing.T ) {
135135 codecManager := buildCodec (t , HelloRequest {}, HelloResponse {})
136136 sender := testAppSender {
137- sendAppRequestFn : func (_ context.Context , _ set.Set [ids.NodeID ], _ uint32 , _ []byte ) error {
137+ sendAppRequestFn : func (context.Context , set.Set [ids.NodeID ], uint32 , []byte ) error {
138138 return nil
139139 },
140- sendAppResponseFn : func (_ ids.NodeID , _ uint32 , _ []byte ) error {
140+ sendAppResponseFn : func (ids.NodeID , uint32 , []byte ) error {
141141 return nil
142142 },
143143 }
@@ -263,7 +263,7 @@ func TestAppRequestOnShutdown(t *testing.T) {
263263 called bool
264264 )
265265 sender := testAppSender {
266- sendAppRequestFn : func (_ context.Context , _ set.Set [ids.NodeID ], _ uint32 , _ []byte ) error {
266+ sendAppRequestFn : func (context.Context , set.Set [ids.NodeID ], uint32 , []byte ) error {
267267 wg .Add (1 )
268268 go func () {
269269 called = true
@@ -319,7 +319,7 @@ func TestSyncedAppRequestAnyOnCtxCancellation(t *testing.T) {
319319 }
320320 return nil
321321 },
322- sendAppResponseFn : func (_ ids.NodeID , _ uint32 , _ []byte ) error {
322+ sendAppResponseFn : func (ids.NodeID , uint32 , []byte ) error {
323323 return nil
324324 },
325325 }
@@ -639,7 +639,7 @@ func (t testAppSender) SendAppGossip(_ context.Context, config common.SendConfig
639639 return t .sendAppGossipFn (config , message )
640640}
641641
642- func (testAppSender ) SendAppError (_ context.Context , _ ids.NodeID , _ uint32 , _ int32 , _ string ) error {
642+ func (testAppSender ) SendAppError (context.Context , ids.NodeID , uint32 , int32 , string ) error {
643643 panic ("not implemented" )
644644}
645645
@@ -751,12 +751,12 @@ type testSDKHandler struct {
751751 appRequested bool
752752}
753753
754- func (* testSDKHandler ) AppGossip (_ context.Context , _ ids.NodeID , _ []byte ) {
754+ func (* testSDKHandler ) AppGossip (context.Context , ids.NodeID , []byte ) {
755755 // TODO implement me
756756 panic ("implement me" )
757757}
758758
759- func (t * testSDKHandler ) AppRequest (_ context.Context , _ ids.NodeID , _ time.Time , _ []byte ) ([]byte , * common.AppError ) {
759+ func (t * testSDKHandler ) AppRequest (context.Context , ids.NodeID , time.Time , []byte ) ([]byte , * common.AppError ) {
760760 t .appRequested = true
761761 return nil , nil
762762}
0 commit comments