diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-12-10 11:43:44 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-12-10 11:43:44 +0000 |
commit | 9b00d80f85072dd9cffaea98e1fceeb3cba0dca3 (patch) | |
tree | a04223ea6fa7d4429dba15299f58f4d1d4fbd142 /src | |
parent | Merge pull request #1403 (diff) | |
download | monero-9b00d80f85072dd9cffaea98e1fceeb3cba0dca3.tar.xz |
wallet2: pass by const ref where possible
Reported by kenshi84
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
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); |