aboutsummaryrefslogtreecommitdiff
path: root/src/model/block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/block.rs')
-rw-r--r--src/model/block.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/model/block.rs b/src/model/block.rs
index 89685630..5f428fe1 100644
--- a/src/model/block.rs
+++ b/src/model/block.rs
@@ -250,7 +250,6 @@ impl BlockManager {
}
/// Decrement the number of time a block is used
- // when counter reach 0, it seems not put to resync which I assume put it to gc?
pub fn block_decref(&self, hash: &Hash) -> Result<(), Error> {
let new_rc = self.rc.update_and_fetch(&hash, |old| {
let old_v = old.map(u64_from_be_bytes).unwrap_or(0);