reduce diff

This commit is contained in:
StephenButtolph 2020-04-20 10:42:16 -04:00
parent b7305f78b6
commit b4f3bb6719
1 changed files with 1 additions and 1 deletions

View File

@ -187,8 +187,8 @@ func (c *connections) getID(peer salticidae.PeerID) (ids.ShortID, bool) {
} }
func (c *connections) remove(peer salticidae.PeerID, id ids.ShortID) { func (c *connections) remove(peer salticidae.PeerID, id ids.ShortID) {
c.removeID(id)
c.removePeerID(peer) c.removePeerID(peer)
c.removeID(id)
} }
func (c *connections) removePeerID(peer salticidae.PeerID) { func (c *connections) removePeerID(peer salticidae.PeerID) {