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
nil validation has zero size
pull/102/head
Jae Kwon
10 years ago
parent
3cd459b60c
commit
a55cc5c65e
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
types/block.go
+ 3
- 0
types/block.go
View File
@ -224,6 +224,9 @@ func (v *Validation) Type() byte {
}
func
(
v
*
Validation
)
Size
(
)
int
{
if
v
==
nil
{
return
0
}
return
len
(
v
.
Precommits
)
}
Write
Preview
Loading…
Cancel
Save