mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-20 08:07:25 +02:00
refactor: Pass grind args vector as const reference
This commit is contained in:
@ -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";
|
||||||
|
Reference in New Issue
Block a user