rename to wownero

This commit is contained in:
wowario 2018-12-18 11:42:36 +03:00
parent afc77b45ba
commit 2e6174addd
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
3 changed files with 6 additions and 6 deletions

View File

@ -2804,7 +2804,7 @@ simple_wallet::simple_wallet()
m_cmd_binder.set_handler("mms signer", m_cmd_binder.set_handler("mms signer",
boost::bind(&simple_wallet::mms, this, _1), boost::bind(&simple_wallet::mms, this, _1),
tr("mms signer [<number> <label> [<transport_address> [<monero_address>]]]"), tr("mms signer [<number> <label> [<transport_address> [<monero_address>]]]"),
tr("Set or modify authorized signer info (single-word label, transport address, Monero address), or list all signers")); tr("Set or modify authorized signer info (single-word label, transport address, Wownero address), or list all signers"));
m_cmd_binder.set_handler("mms list", m_cmd_binder.set_handler("mms list",
boost::bind(&simple_wallet::mms, this, _1), boost::bind(&simple_wallet::mms, this, _1),
tr("mms list"), tr("mms list"),
@ -8968,7 +8968,7 @@ void simple_wallet::list_mms_messages(const std::vector<mms::message> &messages)
void simple_wallet::list_signers(const std::vector<mms::authorized_signer> &signers) void simple_wallet::list_signers(const std::vector<mms::authorized_signer> &signers)
{ {
message_writer() << boost::format("%2s %-20s %-s") % tr("#") % tr("Label") % tr("Transport Address"); message_writer() << boost::format("%2s %-20s %-s") % tr("#") % tr("Label") % tr("Transport Address");
message_writer() << boost::format("%2s %-20s %-s") % "" % tr("Auto-Config Token") % tr("Monero Address"); message_writer() << boost::format("%2s %-20s %-s") % "" % tr("Auto-Config Token") % tr("Wownero Address");
for (size_t i = 0; i < signers.size(); ++i) for (size_t i = 0; i < signers.size(); ++i)
{ {
const mms::authorized_signer &signer = signers[i]; const mms::authorized_signer &signer = signers[i];
@ -9193,14 +9193,14 @@ void simple_wallet::mms_signer(const std::vector<std::string> &args)
bool ok = cryptonote::get_account_address_from_str_or_url(info, m_wallet->nettype(), args[3], oa_prompter); bool ok = cryptonote::get_account_address_from_str_or_url(info, m_wallet->nettype(), args[3], oa_prompter);
if (!ok) if (!ok)
{ {
fail_msg_writer() << tr("Invalid Monero address"); fail_msg_writer() << tr("Invalid Wownero address");
return; return;
} }
monero_address = info.address; monero_address = info.address;
const std::vector<mms::message> &messages = ms.get_all_messages(); const std::vector<mms::message> &messages = ms.get_all_messages();
if ((messages.size() > 0) || state.multisig) if ((messages.size() > 0) || state.multisig)
{ {
fail_msg_writer() << tr("Wallet state does not allow changing Monero addresses anymore"); fail_msg_writer() << tr("Wallet state does not allow changing Wownero addresses anymore");
return; return;
} }
} }

View File

@ -450,7 +450,7 @@ bool message_store::get_signer_index_by_monero_address(const cryptonote::account
return true; return true;
} }
} }
MWARNING("No authorized signer with Monero address " << account_address_to_string(monero_address)); MWARNING("No authorized signer with Wownero address " << account_address_to_string(monero_address));
return false; return false;
} }

View File

@ -12121,7 +12121,7 @@ mms::multisig_wallet_state wallet2::get_multisig_wallet_state() const
state.num_transfer_details = m_transfers.size(); state.num_transfer_details = m_transfers.size();
if (state.multisig) if (state.multisig)
{ {
THROW_WALLET_EXCEPTION_IF(!m_original_keys_available, error::wallet_internal_error, "MMS use not possible because own original Monero address not available"); THROW_WALLET_EXCEPTION_IF(!m_original_keys_available, error::wallet_internal_error, "MMS use not possible because own original Wownero address not available");
state.address = m_original_address; state.address = m_original_address;
state.view_secret_key = m_original_view_secret_key; state.view_secret_key = m_original_view_secret_key;
} }