aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2017-11-14 20:29:05 +0000
committerHoward Chu <hyc@symas.com>2017-11-14 20:29:05 +0000
commit95e784ad00adadc858858f4ddba8047994ac1f17 (patch)
treea50e017744028e5477dd6e956e5508c72f1b5796 /src/wallet/wallet2.cpp
parentMerge pull request #2789 (diff)
downloadmonero-95e784ad00adadc858858f4ddba8047994ac1f17.tar.xz
Fix 437421ce42f1deaa7ec3f28c0c17aff519f1230d
Missing an error argument for an exception
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index f6361ee37..c6db45dc9 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -296,7 +296,7 @@ std::unique_ptr<tools::wallet2> generate_from_json(const std::string& json_file,
// compatibility checks
if (!field_seed_found && !field_viewkey_found && !field_spendkey_found)
{
- THROW_WALLET_EXCEPTION(tools::wallet2::tr("At least one of Electrum-style word list and private view key and private spend key must be specified"));
+ THROW_WALLET_EXCEPTION(tools::error::wallet_internal_error, tools::wallet2::tr("At least one of Electrum-style word list and private view key and private spend key must be specified"));
}
if (field_seed_found && (field_viewkey_found || field_spendkey_found))
{