Fix race in packetInNonceQueueIsAwaitingKey
This commit is contained in:
parent
fa003b6933
commit
e04f9543c0
2 changed files with 7 additions and 7 deletions
2
peer.go
2
peer.go
|
|
@ -54,7 +54,7 @@ type Peer struct {
|
|||
nonce chan *QueueOutboundElement // nonce / pre-handshake queue
|
||||
outbound chan *QueueOutboundElement // sequential ordering of work
|
||||
inbound chan *QueueInboundElement // sequential ordering of work
|
||||
packetInNonceQueueIsAwaitingKey bool
|
||||
packetInNonceQueueIsAwaitingKey AtomicBool
|
||||
}
|
||||
|
||||
routines struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue