github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/x/staking/typesadapter/validator.go (about)

     1  package typesadapter
     2  
     3  import "strings"
     4  
     5  // Validators is a collection of Validator
     6  type Validators []Validator
     7  
     8  func (v Validators) String() (out string) {
     9  	for _, val := range v {
    10  		out += val.String() + "\n"
    11  	}
    12  
    13  	return strings.TrimSpace(out)
    14  }