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
Do not panic upon RoundStepType.String() for invalid type
pull/102/head
Jae Kwon
10 years ago
parent
fc0a4bae4e
commit
3cd459b60c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
consensus/state.go
+ 1
- 1
consensus/state.go
View File
@ -219,7 +219,7 @@ func (rs RoundStepType) String() string {
case
RoundStepCommit
:
return
"RoundStepCommit"
default
:
panic
(
Fmt
(
"Unknown RoundStep %X"
,
rs
)
)
return
"RoundStepUnknown"
// Cannot panic.
}
}
Write
Preview
Loading…
Cancel
Save