mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
Merge pull request #10911
a79f524 simplewallet: fix prompt formatting (jpk68)
ACKs: selsta, tobtoht
This commit is contained in:
@@ -5173,7 +5173,7 @@ void simple_wallet::check_background_mining(const epee::wipeable_string &passwor
|
||||
message_writer() << tr("The daemon is not set up to background mine.");
|
||||
message_writer() << tr("With background mining enabled, the daemon will mine when idle and not on battery.");
|
||||
message_writer() << tr("Enabling this supports the network you are using, and makes you eligible for receiving new monero");
|
||||
std::string accepted = input_line(tr("Do you want to do it now? (Y/Yes/N/No): "));
|
||||
std::string accepted = input_line(tr("Do you want to do it now? (Y/Yes/N/No)"));
|
||||
if (std::cin.eof() || !command_line::is_yes(accepted)) {
|
||||
m_wallet->setup_background_mining(tools::wallet2::BackgroundMiningNo);
|
||||
m_wallet->rewrite(m_wallet_file, password);
|
||||
|
||||
Reference in New Issue
Block a user