This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Fix String() for nil votes, and non-full Validation
pull/96/head
Jae Kwon
10 years ago
parent
26c192b047
commit
027ad79f9c
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
types/vote.go
+ 3
- 0
types/vote.go
View File
@ -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
:
Write
Preview
Loading…
Cancel
Save