mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #1886
f9a2b527
simplewallet: allow setting tx priority in watch wallets (moneromooo-monero)
This commit is contained in:
commit
82411cdf3a
1 changed files with 0 additions and 5 deletions
|
@ -482,11 +482,6 @@ bool simple_wallet::set_default_mixin(const std::vector<std::string> &args/* = s
|
||||||
bool simple_wallet::set_default_priority(const std::vector<std::string> &args/* = std::vector<std::string>()*/)
|
bool simple_wallet::set_default_priority(const std::vector<std::string> &args/* = std::vector<std::string>()*/)
|
||||||
{
|
{
|
||||||
int priority = 0;
|
int priority = 0;
|
||||||
if (m_wallet->watch_only())
|
|
||||||
{
|
|
||||||
fail_msg_writer() << tr("wallet is watch-only and cannot transfer");
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (strchr(args[1].c_str(), '-'))
|
if (strchr(args[1].c_str(), '-'))
|
||||||
|
|
Loading…
Reference in a new issue