Explorar o código

blockchain/contract_store: Add informational comment

parazyd %!s(int64=3) %!d(string=hai) anos
pai
achega
3b83197466
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/blockchain/contract_store.rs

+ 1 - 0
src/blockchain/contract_store.rs

@@ -198,6 +198,7 @@ impl ContractStateStore {
         let tree = db.open_tree(ptr)?;
         tree.clear()?;
 
+        // Remove the deleted tree from the state pointer set.
         state_pointers.retain(|x| *x != ptr);
         self.0.insert(contract_id_bytes, serialize(&state_pointers))?;