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
cleanup lint
pull/8134/head
tycho garen
2 years ago
parent
a818830bab
commit
043df84529
2 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
internal/libs/clist/clist.go
+1
-1
internal/libs/clist/clist_test.go
+ 0
- 1
internal/libs/clist/clist.go
View File
@ -193,7 +193,6 @@ func (e *CElement) setRemoved() {
// Panics if length grows beyond the max.
type
CList
struct
{
mtx
sync
.
RWMutex
wg
*
sync
.
WaitGroup
waitCh
chan
struct
{
}
head
*
CElement
// first element
tail
*
CElement
// last element
+ 1
- 1
internal/libs/clist/clist_test.go
View File
@ -218,7 +218,7 @@ func TestScanRightDeleteRandom(t *testing.T) {
default
:
}
if
el
==
nil
{
el
=
l
.
F
rontWait
(
)
el
=
l
.
f
rontWait
(
)
restartCounter
++
}
el
=
el
.
Next
(
)
Write
Preview
Loading…
Cancel
Save