mirror of
https://github.com/monero-project/monero.git
synced 2024-12-15 04:46:31 +02:00
simplewallet: Be explicit about secret keys
Previously, the wallet just asked for "Spend key" and "View key" but now it specifies that these should be the secret versions of these keys.
This commit is contained in:
parent
ab594cfee9
commit
8bbed27573
@ -1056,7 +1056,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// parse spend secret key
|
// parse spend secret key
|
||||||
std::string spendkey_string = command_line::input_line("Spend key: ");
|
std::string spendkey_string = command_line::input_line("Secret spend key: ");
|
||||||
if (std::cin.eof())
|
if (std::cin.eof())
|
||||||
return false;
|
return false;
|
||||||
if (spendkey_string.empty()) {
|
if (spendkey_string.empty()) {
|
||||||
@ -1072,7 +1072,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
|||||||
crypto::secret_key spendkey = *reinterpret_cast<const crypto::secret_key*>(spendkey_data.data());
|
crypto::secret_key spendkey = *reinterpret_cast<const crypto::secret_key*>(spendkey_data.data());
|
||||||
|
|
||||||
// parse view secret key
|
// parse view secret key
|
||||||
std::string viewkey_string = command_line::input_line("View key: ");
|
std::string viewkey_string = command_line::input_line("Secret view key: ");
|
||||||
if (std::cin.eof())
|
if (std::cin.eof())
|
||||||
return false;
|
return false;
|
||||||
if (viewkey_string.empty()) {
|
if (viewkey_string.empty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user