Merge pull request #1219 from squaremo/driveby

Remove misleading comment and lowercase deniedBy
This commit is contained in:
Matthias Radestock committed 2015-07-28 18:09:01 +01:00
commit 77358140d9
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ func (alloc *Allocator) spaceRequestDenied(sender router.PeerName, r address.Ran
for i := 0; i < len(alloc.pendingClaims); {
claim := alloc.pendingClaims[i].(*claim)
if r.Contains(claim.addr) {
claim.DeniedBy(alloc, sender)
claim.deniedBy(alloc, sender)
alloc.pendingClaims = append(alloc.pendingClaims[:i], alloc.pendingClaims[i+1:]...)
continue
}