aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-12-10 14:49:34 +0200
committerRiccardo Spagni <ric@spagni.net>2016-12-10 14:49:34 +0200
commit2d0fbaf35bc041a388f4b49c72dd59f07c1f43ee (patch)
tree322972b1df9ee5cabe33b7b0471da2f77c6e9cc6 /src
parentMerge pull request #1419 (diff)
parentwallet2: pass by const ref where possible (diff)
downloadmonero-2d0fbaf35bc041a388f4b49c72dd59f07c1f43ee.tar.xz
Merge pull request #1422
9b00d80f wallet2: pass by const ref where possible (moneromooo-monero)
Diffstat (limited to 'src')
-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 c30a0949c..81472687d 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);