aboutsummaryrefslogtreecommitdiff
path: root/src/ringct
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-08-22 20:47:28 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-08-22 20:47:28 -0500
commita5d21be843b88a726920dd2b7e563e85508cfeb1 (patch)
tree1b9baa6631b87a8b39f914513f47108de2d168a1 /src/ringct
parentMerge pull request #4207 (diff)
parentFixed ZMQ-RPC for transactions and GET_BLOCKS_FAST (diff)
downloadmonero-a5d21be843b88a726920dd2b7e563e85508cfeb1.tar.xz
Merge pull request #4210
4616cf2 Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST (vtnerd)
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