diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 335c4ab9150..5e87838fc30 100755 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -6483,6 +6483,7 @@ std::optional wallet2::resolve_address(std::string address, uint64_ if (cryptonote::get_account_address_from_str(info, m_nettype, address)) { result = true; + return address; } else { std::string name = tools::lowercase_ascii_string(std::move(address)); std::string reason;