mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
refactor: Pass grind args vector as const reference
This commit is contained in:
parent
fa08bc288f
commit
fa4017e7a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
strPrint = "Must specify block header to grind";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue