Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vadiminshakov committed Dec 18, 2023
1 parent a76507e commit 44b5003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/coordinator/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (c *coordinatorImpl) Broadcast(ctx context.Context, req dto.BroadcastReques
// increase height for next round
atomic.AddUint64(&c.height, 1)

return &dto.BroadcastResponse{Type: dto.ResponseTypeNack, Index: c.height}, nil
return &dto.BroadcastResponse{Type: dto.ResponseTypeAck, Index: c.height}, nil
}

func (c *coordinatorImpl) propose(ctx context.Context, req dto.BroadcastRequest) error {
Expand Down

0 comments on commit 44b5003

Please sign in to comment.