mirror of
https://github.com/monero-project/monero.git
synced 2025-02-17 18:44:06 -05:00
Fix 437421ce42f1deaa7ec3f28c0c17aff519f1230d
Missing an error argument for an exception
This commit is contained in:
parent
86a35eeed2
commit
95e784ad00
@ -296,7 +296,7 @@ std::unique_ptr<tools::wallet2> generate_from_json(const std::string& json_file,
|
|||||||
// compatibility checks
|
// compatibility checks
|
||||||
if (!field_seed_found && !field_viewkey_found && !field_spendkey_found)
|
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))
|
if (field_seed_found && (field_viewkey_found || field_spendkey_found))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user