aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-04-14 16:20:41 +0900
committerRiccardo Spagni <ric@spagni.net>2016-04-14 16:20:41 +0900
commitc2e9866fc6b20c3bd6d865c081ff52c1874978a2 (patch)
tree1a95b45492e5073266e92e09d1e60959d545706e /src/rpc/core_rpc_server.cpp
parentMerge pull request #796 (diff)
parentrpc: print human readable time since received when printing pool (diff)
downloadmonero-c2e9866fc6b20c3bd6d865c081ff52c1874978a2.tar.xz
Merge pull request #797
d662ab5 rpc: print human readable time since received when printing pool (moneromooo-monero) 5c9dd23 rpc: add a do_not_relay boolean to tx submission (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index f3745e627..9fcb4373b 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -407,7 +407,7 @@ namespace cryptonote
return true;
}
- if(!tvc.m_should_be_relayed)
+ if(!tvc.m_should_be_relayed || req.do_not_relay)
{
LOG_PRINT_L0("[on_send_raw_tx]: tx accepted, but not relayed");
res.reason = "Not relayed";