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
another lock
pull/8127/head
tycho garen
3 years ago
committed by
M. J. Fromberger
parent
76c25e3a77
commit
5b8e30e900
1 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
internal/consensus/state.go
+ 6
- 1
internal/consensus/state.go
View File
@ -1791,7 +1791,12 @@ func (cs *State) enterPrecommitWait(ctx context.Context, height int64, round int
defer
func
(
)
{
// Done enterPrecommitWait:
cs
.
TriggeredTimeoutPrecommit
=
true
func
(
)
{
cs
.
mtx
.
Lock
(
)
defer
cs
.
mtx
.
Unlock
(
)
cs
.
TriggeredTimeoutPrecommit
=
true
}
(
)
cs
.
newStep
(
ctx
)
}
(
)
Write
Preview
Loading…
Cancel
Save