From f2ab3e09722c513b1a74a34eb2e361f6521e52fc Mon Sep 17 00:00:00 2001 From: Simon Wicky Date: Fri, 1 Dec 2023 14:23:57 +0100 Subject: [PATCH] add small note on nym-api --- nym-api/src/support/config/helpers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nym-api/src/support/config/helpers.rs b/nym-api/src/support/config/helpers.rs index b79c40b466..34873d3ce5 100644 --- a/nym-api/src/support/config/helpers.rs +++ b/nym-api/src/support/config/helpers.rs @@ -20,7 +20,7 @@ fn try_upgrade_v1_1_21_config(id: &str) -> Result<()> { info!("It is going to get updated to the current specification."); let updated: Config = old_config.into(); - crate::network_monitor::init_ecash_keypair(&updated.network_monitor)?; + crate::network_monitor::init_ecash_keypair(&updated.network_monitor)?; //SW does that belong here? Ok(updated.save_to_default_location()?) } @@ -37,7 +37,7 @@ fn try_upgrade_v1_1_27_config(id: &str) -> Result<()> { info!("It is going to get updated to the current specification."); let updated: Config = old_config.into(); - crate::network_monitor::init_ecash_keypair(&updated.network_monitor)?; + crate::network_monitor::init_ecash_keypair(&updated.network_monitor)?; //SW does that belong here? Ok(updated.save_to_default_location()?) }