From 4616cf2641c69e48ae19303099e701088ffe9045 Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Wed, 1 Aug 2018 22:10:09 -0400 Subject: Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST --- src/ringct/rctTypes.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/ringct') 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 -- cgit v1.2.3