mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 09:42:22 +00:00
*: drop unused structure fields
Found by structcheck: `good` is unused (structcheck) and alike.
This commit is contained in:
parent
4cd3da99b4
commit
601841ef35
4 changed files with 0 additions and 5 deletions
|
@ -6,7 +6,6 @@ import (
|
|||
|
||||
type varScope struct {
|
||||
localsCnt int
|
||||
argCnt int
|
||||
arguments map[string]int
|
||||
locals []map[string]varInfo
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@ import (
|
|||
type testDiscovery struct {
|
||||
sync.Mutex
|
||||
bad []string
|
||||
good []string
|
||||
connected []string
|
||||
unregistered []string
|
||||
backfill []string
|
||||
|
|
|
@ -58,8 +58,6 @@ type TCPPeer struct {
|
|||
p2pSendQ chan []byte
|
||||
hpSendQ chan []byte
|
||||
|
||||
wg sync.WaitGroup
|
||||
|
||||
// track outstanding getaddr requests.
|
||||
getAddrSent atomic.Int32
|
||||
|
||||
|
|
|
@ -59,7 +59,6 @@ type (
|
|||
|
||||
subsLock sync.RWMutex
|
||||
subscribers map[*subscriber]bool
|
||||
subsGroup sync.WaitGroup
|
||||
blockSubs int
|
||||
executionSubs int
|
||||
notificationSubs int
|
||||
|
|
Loading…
Reference in a new issue