aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctSigs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-27 22:20:45 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:30:51 +0100
commitb38452bd55134e03948a82a6590b58f55e152f97 (patch)
tree42efa2ae7c76346f962886d5d8c665585a96eeb4 /src/ringct/rctSigs.h
parentringct: use memcpy/memset instead of handwritten loop where appropriate (diff)
downloadmonero-b38452bd55134e03948a82a6590b58f55e152f97.tar.xz
ringct: pass structure by const ref, not value
Diffstat (limited to '')
-rw-r--r--src/ringct/rctSigs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/rctSigs.h b/src/ringct/rctSigs.h
index 8a686bd64..f1c906d5e 100644
--- a/src/ringct/rctSigs.h
+++ b/src/ringct/rctSigs.h
@@ -114,7 +114,7 @@ namespace rct {
// verifies the above sig is created corretly
mgSig proveRctMG(const ctkeyM & pubs, const ctkeyV & inSk, const keyV &outMasks, const ctkeyV & outPk, unsigned int index, key txnFee, const key &message);
mgSig proveRctMGSimple(const key & message, const ctkeyV & pubs, const ctkey & inSk, const key &a , const key &Cout, unsigned int index);
- bool verRctMG(mgSig mg, const ctkeyM & pubs, const ctkeyV & outPk, key txnFee, const key &message);
+ bool verRctMG(const mgSig &mg, const ctkeyM & pubs, const ctkeyV & outPk, key txnFee, const key &message);
bool verRctMGSimple(const key &message, const mgSig &mg, const ctkeyV & pubs, const key & C);
//These functions get keys from blockchain