Make EventDataRoundState use json:"-" instead of Getter/Setter

This commit is contained in:
Jae Kwon
2016-01-14 11:07:31 -08:00
parent 8e776a252b
commit f100404362
4 changed files with 20 additions and 28 deletions

View File

@@ -99,11 +99,11 @@ type RoundState struct {
func (rs *RoundState) RoundStateEvent() *types.EventDataRoundState {
edrs := &types.EventDataRoundState{
Height: rs.Height,
Round: rs.Round,
Step: rs.Step.String(),
Height: rs.Height,
Round: rs.Round,
Step: rs.Step.String(),
RoundState: rs,
}
edrs.SetRoundState(rs)
return edrs
}