mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-25 09:24:30 +00:00
Make EventDataRoundState use json:"-" instead of Getter/Setter
This commit is contained in:
+1
-9
@@ -81,15 +81,7 @@ type EventDataRoundState struct {
|
||||
Step string `json:"step"`
|
||||
|
||||
// private, not exposed to websockets
|
||||
rs interface{}
|
||||
}
|
||||
|
||||
func (edrs *EventDataRoundState) RoundState() interface{} {
|
||||
return edrs.rs
|
||||
}
|
||||
|
||||
func (edrs *EventDataRoundState) SetRoundState(rs interface{}) {
|
||||
edrs.rs = rs
|
||||
RoundState interface{} `json:"-"`
|
||||
}
|
||||
|
||||
type EventDataVote struct {
|
||||
|
||||
Reference in New Issue
Block a user