aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-10 11:43:44 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-10 11:43:44 +0000
commit9b00d80f85072dd9cffaea98e1fceeb3cba0dca3 (patch)
treea04223ea6fa7d4429dba15299f58f4d1d4fbd142 /src/wallet
parentMerge pull request #1403 (diff)
downloadmonero-9b00d80f85072dd9cffaea98e1fceeb3cba0dca3.tar.xz
wallet2: pass by const ref where possible
Reported by kenshi84
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 2d293d45c..5ab1ff85e 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -558,7 +558,7 @@ void wallet2::check_acc_out_precomp(const crypto::public_key &spend_public_key,
error = false;
}
//----------------------------------------------------------------------------------------------------
-static uint64_t decodeRct(const rct::rctSig & rv, const crypto::public_key pub, const crypto::secret_key &sec, unsigned int i, rct::key & mask)
+static uint64_t decodeRct(const rct::rctSig & rv, const crypto::public_key &pub, const crypto::secret_key &sec, unsigned int i, rct::key & mask)
{
crypto::key_derivation derivation;
bool r = crypto::generate_key_derivation(pub, sec, derivation);