mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
rename to wownero
This commit is contained in:
parent
afc77b45ba
commit
2e6174addd
3 changed files with 6 additions and 6 deletions
|
@ -2804,7 +2804,7 @@ simple_wallet::simple_wallet()
|
|||
m_cmd_binder.set_handler("mms signer",
|
||||
boost::bind(&simple_wallet::mms, this, _1),
|
||||
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",
|
||||
boost::bind(&simple_wallet::mms, this, _1),
|
||||
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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
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);
|
||||
if (!ok)
|
||||
{
|
||||
fail_msg_writer() << tr("Invalid Monero address");
|
||||
fail_msg_writer() << tr("Invalid Wownero address");
|
||||
return;
|
||||
}
|
||||
monero_address = info.address;
|
||||
const std::vector<mms::message> &messages = ms.get_all_messages();
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -450,7 +450,7 @@ bool message_store::get_signer_index_by_monero_address(const cryptonote::account
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -12121,7 +12121,7 @@ mms::multisig_wallet_state wallet2::get_multisig_wallet_state() const
|
|||
state.num_transfer_details = m_transfers.size();
|
||||
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.view_secret_key = m_original_view_secret_key;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue