Fix commonly misspelled words

This commit is contained in:
spring1843
2017-05-20 21:43:00 -07:00
parent 267f134d44
commit cf686d4f83
5 changed files with 8 additions and 8 deletions

View File

@@ -409,7 +409,7 @@ func (cache *txCache) Push(tx types.Tx) bool {
popped := cache.list.Front()
poppedTx := popped.Value.(types.Tx)
// NOTE: the tx may have already been removed from the map
// but deleting a non-existant element is fine
// but deleting a non-existent element is fine
delete(cache.map_, string(poppedTx))
cache.list.Remove(popped)
}