aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-02 10:02:12 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:29:07 +0100
commitc2ec6d35b9a8130fe1253d4933741506fee504cf (patch)
treedb452ab0c59d65dafcb6b13f292f1e1c5c2516a9 /src/rpc/core_rpc_server.cpp
parentwallet: factor transfer_rct code with transfer code (diff)
downloadmonero-c2ec6d35b9a8130fe1253d4933741506fee504cf.tar.xz
mixable transactions must be rct for v3
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 586b09179..cef53b5ce 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -483,6 +483,8 @@ namespace cryptonote
res.reason = "overspend";
if ((res.fee_too_low = tvc.m_fee_too_low))
res.reason = "fee too low";
+ if ((res.not_rct = tvc.m_not_rct))
+ res.reason = "tx is not ringct";
return true;
}