diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-27 22:20:45 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:30:51 +0100 |
commit | b38452bd55134e03948a82a6590b58f55e152f97 (patch) | |
tree | 42efa2ae7c76346f962886d5d8c665585a96eeb4 /src/ringct/rctSigs.cpp | |
parent | ringct: use memcpy/memset instead of handwritten loop where appropriate (diff) | |
download | monero-b38452bd55134e03948a82a6590b58f55e152f97.tar.xz |
ringct: pass structure by const ref, not value
Diffstat (limited to 'src/ringct/rctSigs.cpp')
-rw-r--r-- | src/ringct/rctSigs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/rctSigs.cpp b/src/ringct/rctSigs.cpp index 2fedfa761..f4dbd65c5 100644 --- a/src/ringct/rctSigs.cpp +++ b/src/ringct/rctSigs.cpp @@ -459,7 +459,7 @@ namespace rct { // this shows that sum inputs = sum outputs //Ver: // verifies the above sig is created corretly - bool verRctMG(mgSig mg, const ctkeyM & pubs, const ctkeyV & outPk, key txnFeeKey, const key &message) { + bool verRctMG(const mgSig &mg, const ctkeyM & pubs, const ctkeyV & outPk, key txnFeeKey, const key &message) { //setup vars size_t cols = pubs.size(); CHECK_AND_ASSERT_MES(cols >= 1, false, "Empty pubs"); |