wallet2: pass by const ref where possible

Reported by kenshi84
pull/1422/head
moneromooo-monero 8 years ago
parent 45bb393577
commit 9b00d80f85
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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);

Loading…
Cancel
Save