Merge pull request #1219 from squaremo/driveby
Remove misleading comment and lowercase deniedBy
This commit is contained in:
commit
77358140d9
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user