From 7c9a970c812e07e22f6f5545a1334d5e59daf1cb Mon Sep 17 00:00:00 2001 From: soul Date: Fri, 23 Oct 2026 06:09:35 +0200 Subject: [PATCH] Economy command: drop the untested second fingerprint check before the swap Co-Authored-By: Claude Sonnet 5.5 --- tools/AetherDb/EconomyCommand.cs | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/tools/AetherDb/EconomyCommand.cs b/tools/AetherDb/EconomyCommand.cs index df568ca9e..240f6a118 100644 --- a/tools/AetherDb/EconomyCommand.cs +++ b/tools/AetherDb/EconomyCommand.cs @@ -183,19 +183,8 @@ public static class EconomyCommand } var staged = catalogPath + ".economy-" + Guid.NewGuid().ToString("N"); File.Copy(trial, staged); - try - { - if (Fingerprint(catalogPath) != fingerprint) - { - output.WriteLine("The batches are refused: Aetheria.cc changed before the checked copy could replace it."); - return 1; - } - File.Replace(staged, catalogPath, null); - } - finally - { - if (File.Exists(staged)) File.Delete(staged); - } + try { File.Replace(staged, catalogPath, null); } + finally { if (File.Exists(staged)) File.Delete(staged); } output.WriteLine($"\nWrote {written} records to Aetheria.cc"); return 0; }