missing event code

This commit is contained in:
rkapka
2023-01-12 17:45:21 +01:00
parent 5bdffb82e3
commit daa4fd2b72

View File

@@ -334,6 +334,12 @@ func (bs *Server) SubmitSignedBLSToExecutionChanges(ctx context.Context, req *et
})
continue
}
bs.OperationNotifier.OperationFeed().Send(&feed.Event{
Type: operation.BLSToExecutionChangeReceived,
Data: &operation.BLSToExecutionChangeReceivedData{
Change: alphaChange,
},
})
bs.BLSChangesPool.InsertBLSToExecChange(alphaChange)
if st.Version() >= version.Capella {
if err := bs.Broadcaster.Broadcast(ctx, alphaChange); err != nil {