trivial: Fix spelling errors

- Fixes some spelling in code comments and a couple of function names
This commit is contained in:
Michael Rooke
2023-09-20 11:37:32 -04:00
parent ec585431a9
commit 78d9996620
30 changed files with 65 additions and 52 deletions

View File

@@ -95,7 +95,7 @@ func (p *MockPeer) Write(b []byte) (n int, err error) {
}
}
// Close tearsdown the connection, and fails any pending reads or writes.
// Close tears down the connection, and fails any pending reads or writes.
func (p *MockPeer) Close() error {
select {
case <-p.Quit: