Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: CHAMI Rachid <[email protected]>
  • Loading branch information
cmwaters and rach-id authored Jan 19, 2023
1 parent c6368d3 commit 6bc8c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mempool/cat/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ func TestLRUTxCacheConcurrency(t *testing.T) {
}()
}
wg.Wait()
}
}
2 changes: 1 addition & 1 deletion mempool/cat/peers.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func newMempoolIDs() *mempoolIDs {
}
}

// Reserve searches for the next unused ID and assigns it to the
// ReserveForPeer searches for the next unused ID and assigns it to the
// peer.
func (ids *mempoolIDs) ReserveForPeer(peer p2p.Peer) {
ids.mtx.Lock()
Expand Down

0 comments on commit 6bc8c4c

Please sign in to comment.