aboutsummaryrefslogtreecommitdiff
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/state.rs b/src/state.rs
index 72a8aa4..4c623e1 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -169,12 +169,6 @@ impl Logic {
{
let mut raw = txn.open_table(T_TOTAL)?;
let v = raw.get(())?.map(|g| g.value()).unwrap_or_default();
- raw.insert((), v + 1)?;
- }
-
- {
- let mut raw = txn.open_table(T_TOTAL)?;
- let v = raw.get(())?.map(|g| g.value()).unwrap_or_default();
raw.insert((), v + total)?;
total = 0;
}