mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 23:14:37 +00:00
RunAction* directly on ConsensusState.
This commit is contained in:
@@ -127,6 +127,10 @@ func (vset *ValidatorSet) Iterate(fn func(val *Validator) bool) {
|
||||
})
|
||||
}
|
||||
|
||||
func (vset *ValidatorSet) String() string {
|
||||
return vset.StringWithIndent("")
|
||||
}
|
||||
|
||||
func (vset *ValidatorSet) StringWithIndent(indent string) string {
|
||||
valStrings := []string{}
|
||||
vset.Iterate(func(val *Validator) bool {
|
||||
|
||||
Reference in New Issue
Block a user