diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-06-17 14:50:54 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-06-18 20:10:07 +0200 |
commit | fa4017e7a0899959b2ac84bcbc3f34dfb17b5fce (patch) | |
tree | 798f78392eee9df855978d5047883bd577d56077 /src | |
parent | fa08bc288f81dd42a482e2bfef37d21a1e5fddd2 (diff) | |
download | bitcoin-fa4017e7a0899959b2ac84bcbc3f34dfb17b5fce.tar.xz |
refactor: Pass grind args vector as const reference
Diffstat (limited to 'src')
-rw-r--r-- | src/bitcoin-util.cpp | 2 |
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"; |