Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This method was attempting to read from peer.fsm before acquiring a read lock, leading to a data race as this struct is written by a different goroutine in parallel. Commit moves the call to RLock before the first read from the struct.
- Loading branch information