From 3a5d31ac177825d27eb8159b85fc212b4064ed03 Mon Sep 17 00:00:00 2001 From: Alex Coats Date: Wed, 10 Jan 2024 13:14:38 -0500 Subject: [PATCH] remove TODOs --- sdk/src/wallet/core/operations/stronghold_backup/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdk/src/wallet/core/operations/stronghold_backup/mod.rs b/sdk/src/wallet/core/operations/stronghold_backup/mod.rs index ad6a59f2e5..1453f84ccf 100644 --- a/sdk/src/wallet/core/operations/stronghold_backup/mod.rs +++ b/sdk/src/wallet/core/operations/stronghold_backup/mod.rs @@ -82,7 +82,6 @@ impl Wallet { let wallet_data = self.data().await; // We don't want to overwrite a possible existing wallet - // TODO not too sure about this, it used to check the presence of accounts, this is not 100% equivalent if !wallet_data.outputs.is_empty() { return Err(crate::wallet::Error::Backup( "can't restore backup when there is already a wallet", @@ -244,7 +243,6 @@ impl Wallet { let wallet_data = self.data().await; // We don't want to overwrite a possible existing wallet - // TODO not too sure about this, it used to check the presence of accounts, this is not 100% equivalent if !wallet_data.outputs.is_empty() { return Err(crate::wallet::Error::Backup( "can't restore backup when there is already a wallet",