all: fix typos in comments (#21118)

This commit is contained in:
Martin Michlmayr
2020-05-25 16:21:28 +08:00
committed by GitHub
parent 48e3b95e77
commit 4f2784b38f
55 changed files with 65 additions and 65 deletions

View File

@ -585,7 +585,7 @@ func (f *clientPool) addBalance(id enode.ID, amount int64, meta string) (uint64,
if !c.priority && pb.value > 0 {
// The capacity should be adjusted based on the requirement,
// but we have no idea about the new capacity, need a second
// call to udpate it.
// call to update it.
c.priority = true
f.priorityConnected += c.capacity
c.balanceTracker.addCallback(balanceCallbackZero, 0, func() { f.balanceExhausted(id) })