From f1fc51ba09ef2549cb7e3f33520316a30cd6d422 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 31 Oct 2026 13:52:27 +0100 Subject: [PATCH] Cleanup --- RNS/Storage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RNS/Storage.py b/RNS/Storage.py index 7cbd766d..72f052cc 100644 --- a/RNS/Storage.py +++ b/RNS/Storage.py @@ -264,9 +264,11 @@ class KnownDestinationsStore: try: # Pre-release migrations, will be folded into finalized schema before 1.6.0 release + self._conn.execute("BEGIN") if 0 < db_version < 2: self._conn.execute("ALTER TABLE known_destinations ADD COLUMN lr_cost REAL") if 0 < db_version < 3: self._conn.execute("ALTER TABLE known_destinations ALTER COLUMN packet_hash DROP NOT NULL") self._conn.execute("PRAGMA user_version = 3") + self._conn.execute("COMMIT") self._conn.commit() except Exception as e: import RNS