Merge pull request #1422
9b00d80f
wallet2: pass by const ref where possible (moneromooo-monero)
This commit is contained in:
commit
2d0fbaf35b
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ void wallet2::check_acc_out_precomp(const crypto::public_key &spend_public_key,
|
||||||
error = false;
|
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;
|
crypto::key_derivation derivation;
|
||||||
bool r = crypto::generate_key_derivation(pub, sec, derivation);
|
bool r = crypto::generate_key_derivation(pub, sec, derivation);
|
||||||
|
|
Loading…
Reference in a new issue