mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
blockchain/contract_store: Add informational comment
This commit is contained in:
@@ -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))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user