aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-06-17 14:50:54 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-06-18 20:10:07 +0200
commitfa4017e7a0899959b2ac84bcbc3f34dfb17b5fce (patch)
tree798f78392eee9df855978d5047883bd577d56077 /src
parentfa08bc288f81dd42a482e2bfef37d21a1e5fddd2 (diff)
refactor: Pass grind args vector as const reference
Diffstat (limited to 'src')
-rw-r--r--src/bitcoin-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-util.cpp b/src/bitcoin-util.cpp
index d26ffd2855..f534aecc19 100644
--- a/src/bitcoin-util.cpp
+++ b/src/bitcoin-util.cpp
@@ -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";