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/8091/head
tycho garen
3 years ago
parent
a5af56a93f
commit
7e99b233e2
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
@ -1770,7 +1770,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