aboutsummaryrefslogtreecommitdiff
path: root/src/ringct
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2018-08-01 22:10:09 -0400
committerLee Clagett <code@leeclagett.com>2018-08-02 07:30:20 +0000
commit4616cf2641c69e48ae19303099e701088ffe9045 (patch)
tree05899f812237dc71e2b70d94f96d6a66c7fb4837 /src/ringct
parentMerge pull request #4088 (diff)
downloadmonero-4616cf2641c69e48ae19303099e701088ffe9045.tar.xz
Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST
Diffstat (limited to 'src/ringct')
-rw-r--r--src/ringct/rctTypes.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h
index 844291d0c..a3ccf2e85 100644
--- a/src/ringct/rctTypes.h
+++ b/src/ringct/rctTypes.h
@@ -403,6 +403,16 @@ namespace rct {
};
struct rctSig: public rctSigBase {
rctSigPrunable p;
+
+ keyV& get_pseudo_outs()
+ {
+ return type == RCTTypeSimpleBulletproof ? p.pseudoOuts : pseudoOuts;
+ }
+
+ keyV const& get_pseudo_outs() const
+ {
+ return type == RCTTypeSimpleBulletproof ? p.pseudoOuts : pseudoOuts;
+ }
};
//other basepoint H = toPoint(cn_fast_hash(G)), G the basepoint