diff --git a/src/blsct/external_api/blsct.cpp b/src/blsct/external_api/blsct.cpp index 68687761432d1..62be35bf12dc4 100644 --- a/src/blsct/external_api/blsct.cpp +++ b/src/blsct/external_api/blsct.cpp @@ -408,7 +408,7 @@ BlsctBoolRetVal* verify_range_proofs( std::vector> range_proof_w_seeds; - for(auto rp: *range_proofs) { + for(const auto& rp: *range_proofs) { auto rp_w_seed = bulletproofs::RangeProofWithSeed(rp); range_proof_w_seeds.push_back(rp_w_seed); }