Commit 896cda5c authored by Luke Champine's avatar Luke Champine

don't decrement fileCounter

parent 10d17829
......@@ -32,7 +32,6 @@ func (h *Host) allocate(filesize uint64) (file *os.File, path string, err error)
func (h *Host) deallocate(filesize uint64, path string) {
os.Remove(path)
h.spaceRemaining += int64(filesize)
h.fileCounter--
}
// considerTerms checks that the terms of a potential file contract fall
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment