Skip to content

Commit

Permalink
Update proposals/handler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Bartosz Różański <bartek.roza@gmail.com>
  • Loading branch information
dshulyak and poszu committed Sep 11, 2023
1 parent d675c4d commit dcd8f01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proposals/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ func (h *Handler) handleProposal(ctx context.Context, expHash types.Hash32, peer
}

// set the proposal ID when received
// p.Initialize uses SignedBytes again
// It mustn't contain the active set if layer >= AllowEmptyActiveSet
// (p.Initialize uses SignedBytes again).
if err := p.Initialize(); err != nil {
failedInit.Inc()
return errInitialize
Expand Down

0 comments on commit dcd8f01

Please sign in to comment.