From 2375d0fbc176eccc074aed460f8d704e5cc3fbf4 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Wed, 26 Jul 2023 14:37:25 +0200 Subject: [PATCH] fixed minro bug in UI wallet --- src/wallet/wallets_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index e66f55e2..ad72a9b4 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -1160,7 +1160,7 @@ std::string wallets_manager::generate_wallet(const std::wstring& path, const std try { w->generate(path, password, false); - w->set_minimum_height(m_last_daemon_height); + w->set_minimum_height(m_last_daemon_height-1); //owr.seed = w->get_account().get_seed_phrase(); } catch (const tools::error::file_exists&)