From 4ae1857898fa745bbbc0a509fcdf2c30e3fd4a46 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Mon, 19 Jun 2023 17:47:24 +0200 Subject: [PATCH] fix missing era regeneration (#5098) +1 is already done via a `defer` --- ncli/ncli_db.nim | 1 - 1 file changed, 1 deletion(-) diff --git a/ncli/ncli_db.nim b/ncli/ncli_db.nim index 07f702dc6..702939dbf 100644 --- a/ncli/ncli_db.nim +++ b/ncli/ncli_db.nim @@ -534,7 +534,6 @@ proc cmdExportEra(conf: DbConf, cfg: RuntimeConfig) = if isFile(name): debug "Era file already exists", era, name - era += 1 continue # Check if we reasonably could write the era file given what's in the