fix error message typo in wallet2.cpp

This commit is contained in:
cryptochangements34 2018-03-09 17:22:26 -05:00
parent e9f41e405f
commit aa8bef0cb3

View File

@ -321,7 +321,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::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")); THROW_WALLET_EXCEPTION(tools::error::wallet_internal_error, tools::wallet2::tr("At least one of either an Electrum-style word list, private view key, or 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))
{ {