aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-18 20:31:37 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-18 20:31:37 +0200
commit82411cdf3a35cef0518a6431bed016977f5deb50 (patch)
tree3259854382a3104304bbd26c6fe71b9b0f02522d /src/simplewallet/simplewallet.cpp
parentMerge pull request #1885 (diff)
parentsimplewallet: allow setting tx priority in watch wallets (diff)
downloadmonero-82411cdf3a35cef0518a6431bed016977f5deb50.tar.xz
Merge pull request #1886
f9a2b527 simplewallet: allow setting tx priority in watch wallets (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-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 ba4ff6299..8fcefc06b 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(), '-'))