From c7fb9b34f1e5e94e43bd9d46ff7c957f922a7b9b Mon Sep 17 00:00:00 2001 From: Piotr Skamruk Date: Sat, 14 Dec 2024 20:41:15 +0100 Subject: [PATCH] [node-split] Remove invalid code for emitting event --- api/node/server/server.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/node/server/server.go b/api/node/server/server.go index 55c37c873f..dd0fae0acc 100644 --- a/api/node/server/server.go +++ b/api/node/server/server.go @@ -187,11 +187,7 @@ func (s *Server) PostPublishProtocol( if err != nil { return nil, err } - proposal := &types.Proposal{} - codec.MustDecode(blob, proposal) - events.EmitProposal(proposal.SmesherID, proposal.Layer, proposal.ID()) - events.ReportProposal(events.ProposalCreated, proposal) s.publisher.Publish(ctx, string(request.Protocol), blob) return PostPublishProtocol200Response{}, nil }