mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 14:21:14 +00:00
remove RoundState from EventDataRoundState (#3354)
Before we're using it to get a round state in tests. Now it can be done by calling csX.GetRoundState. We will need to rewrite TestStateSlashingPrevotes and TestStateSlashingPrecommits, which are commented right now, to not rely on EventDataRoundState#RoundState field. Refs #1527
This commit is contained in:
@@ -87,9 +87,6 @@ type EventDataRoundState struct {
|
||||
Height int64 `json:"height"`
|
||||
Round int `json:"round"`
|
||||
Step string `json:"step"`
|
||||
|
||||
// private, not exposed to websockets
|
||||
RoundState interface{} `json:"-"`
|
||||
}
|
||||
|
||||
type ValidatorInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user