aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-18 18:07:54 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-18 18:07:54 +0000
commitf9a2b5279d6243fb1fc0f585516c6c79a8301962 (patch)
tree3248bbf92b75590d48eebf63c6b8128a0097234e /src/simplewallet
parentMerge pull request #1869 (diff)
downloadmonero-f9a2b5279d6243fb1fc0f585516c6c79a8301962.tar.xz
simplewallet: allow setting tx priority in watch wallets
Those can create unsigned transactions
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index f5763648f..a41c46ab8 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -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>()*/)
{
int priority = 0;
- if (m_wallet->watch_only())
- {
- fail_msg_writer() << tr("wallet is watch-only and cannot transfer");
- return true;
- }
try
{
if (strchr(args[1].c_str(), '-'))