refactor: Pass grind args vector as const reference

pull/22270/head
MarcoFalke 3 years ago
parent fa08bc288f
commit fa4017e7a0
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -105,7 +105,7 @@ static void grind_task(uint32_t nBits, CBlockHeader& header_orig, uint32_t offse
} }
} }
static int Grind(std::vector<std::string> args, std::string& strPrint) static int Grind(const std::vector<std::string>& args, std::string& strPrint)
{ {
if (args.size() != 1) { if (args.size() != 1) {
strPrint = "Must specify block header to grind"; strPrint = "Must specify block header to grind";

Loading…
Cancel
Save