From 60f7d2c3d589a7989259c641fd24cdfa6dad6102 Mon Sep 17 00:00:00 2001 From: sowle Date: Wed, 5 Aug 2020 17:53:00 +0300 Subject: [PATCH] auditable wallets are not supported in mobile, not in desktop --- src/wallet/wallets_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index 095d1ed9..93b4fdd5 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -853,7 +853,7 @@ std::string wallets_manager::open_wallet(const std::wstring& path, const std::st w->load(path, password); if (w->is_watch_only() && !w->is_auditable()) return API_RETURN_CODE_WALLET_WATCH_ONLY_NOT_SUPPORTED; -#ifndef MOBILE_WALLET_BUILD +#ifdef MOBILE_WALLET_BUILD //disable auditable wallets for now in mobile wallet if (w->is_auditable()) { @@ -1063,7 +1063,7 @@ std::string wallets_manager::restore_wallet(const std::wstring& path, const std: { bool auditable_watch_only = restore_key.find(':') != std::string::npos; w->restore(path, password, restore_key, auditable_watch_only); -#ifndef MOBILE_WALLET_BUILD +#ifdef MOBILE_WALLET_BUILD //disable auditable wallets for now in mobile wallet if (w->is_auditable()) {