forked from lthn/blockchain
GUI: allow auditable watch-only wallets to be opened
This commit is contained in:
parent
859291f45e
commit
aeb23bdd81
1 changed files with 1 additions and 1 deletions
|
|
@ -805,7 +805,7 @@ std::string wallets_manager::open_wallet(const std::wstring& path, const std::st
|
|||
try
|
||||
{
|
||||
w->load(path, password);
|
||||
if (w->is_watch_only())
|
||||
if (w->is_watch_only() && !w->is_auditable())
|
||||
return API_RETURN_CODE_WALLET_WATCH_ONLY_NOT_SUPPORTED;
|
||||
w->get_recent_transfers_history(owr.recent_history.history, 0, txs_to_return, owr.recent_history.total_history_items);
|
||||
//w->get_unconfirmed_transfers(owr.recent_history.unconfirmed);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue