mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-28 13:41:21 +00:00
Fix String() for nil votes, and non-full Validation
This commit is contained in:
parent
26c192b047
commit
027ad79f9c
@ -54,6 +54,9 @@ func (vote *Vote) Copy() *Vote {
|
||||
}
|
||||
|
||||
func (vote *Vote) String() string {
|
||||
if vote == nil {
|
||||
return "nil-Vote"
|
||||
}
|
||||
var typeString string
|
||||
switch vote.Type {
|
||||
case VoteTypePrevote:
|
||||
|
Loading…
x
Reference in New Issue
Block a user