Skip to content

Commit

Permalink
fixup: constref instead of copy
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtowns committed Feb 3, 2023
1 parent 2dbb1a8 commit d3ba732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ctvhash_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ BOOST_AUTO_TEST_CASE(ctvhash_from_data)
UniValue tests = read_json(std::string(json_tests::ctvhash, json_tests::ctvhash + sizeof(json_tests::ctvhash)));

for (unsigned int idx = 0; idx < tests.size(); idx++) {
UniValue test = tests[idx];
const UniValue& test = tests[idx];
std::string strTest = test.write();
// comment
if (test.isStr())
Expand Down

0 comments on commit d3ba732

Please sign in to comment.