Skip to content

Commit fa4017e

Browse files
author
MarcoFalke
committed
refactor: Pass grind args vector as const reference
1 parent fa08bc2 commit fa4017e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitcoin-util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static void grind_task(uint32_t nBits, CBlockHeader& header_orig, uint32_t offse
105105
}
106106
}
107107

108-
static int Grind(std::vector<std::string> args, std::string& strPrint)
108+
static int Grind(const std::vector<std::string>& args, std::string& strPrint)
109109
{
110110
if (args.size() != 1) {
111111
strPrint = "Must specify block header to grind";

0 commit comments

Comments
 (0)