Skip to content

Commit

Permalink
[node-split] Remove invalid code for emitting event
Browse files Browse the repository at this point in the history
  • Loading branch information
jellonek committed Dec 14, 2024
1 parent c1615a0 commit c7fb9b3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/node/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c7fb9b3

Please sign in to comment.