1
0
Fork 0
forked from lthn/blockchain

wallet2: fix a bug with awo wallet restoration

This commit is contained in:
sowle 2020-06-01 16:09:36 +03:00
parent a47f9ade78
commit 338e22d612
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -2203,6 +2203,7 @@ void wallet2::restore(const std::wstring& path, const std::string& pass, const s
r = m_account.restore_from_awo_blob(seed_phrase_or_awo_blob);
init_log_prefix();
WLT_THROW_IF_FALSE_WALLET_CMN_ERR_EX(r, "Could not load auditable watch-only wallet from a given blob: invalid awo blob");
m_watch_only = true;
}
else
{