simplewallet: fix typo get_tx_proof_out to get_tx_proof

This commit is contained in:
stoffu 2018-01-11 23:14:13 +09:00
parent 09d19c9139
commit 3050a4f05b
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012

View File

@ -1674,9 +1674,9 @@ simple_wallet::simple_wallet()
boost::bind(&simple_wallet::check_tx_key, this, _1), boost::bind(&simple_wallet::check_tx_key, this, _1),
tr("check_tx_key <txid> <txkey> <address>"), tr("check_tx_key <txid> <txkey> <address>"),
tr("Check the amount going to <address> in <txid>.")); tr("Check the amount going to <address> in <txid>."));
m_cmd_binder.set_handler("get_tx_proof_out", m_cmd_binder.set_handler("get_tx_proof",
boost::bind(&simple_wallet::get_tx_proof, this, _1), boost::bind(&simple_wallet::get_tx_proof, this, _1),
tr("get_tx_proof_out <txid> <address> [<message>]"), tr("get_tx_proof <txid> <address> [<message>]"),
tr("Generate a signature proving funds sent to <address> in <txid>, optionally with a challenge string <message>, using either the transaction secret key (when <address> is not your wallet's address) or the view secret key (otherwise), which does not disclose the secret key.")); tr("Generate a signature proving funds sent to <address> in <txid>, optionally with a challenge string <message>, using either the transaction secret key (when <address> is not your wallet's address) or the view secret key (otherwise), which does not disclose the secret key."));
m_cmd_binder.set_handler("check_tx_proof", m_cmd_binder.set_handler("check_tx_proof",
boost::bind(&simple_wallet::check_tx_proof, this, _1), boost::bind(&simple_wallet::check_tx_proof, this, _1),
@ -4858,7 +4858,7 @@ bool simple_wallet::get_tx_proof(const std::vector<std::string> &args)
{ {
if (args.size() != 2 && args.size() != 3) if (args.size() != 2 && args.size() != 3)
{ {
fail_msg_writer() << tr("usage: get_tx_proof_out <txid> <address> [<message>]"); fail_msg_writer() << tr("usage: get_tx_proof <txid> <address> [<message>]");
return true; return true;
} }