aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2013-08-25 20:16:23 -0400
committerJeff Garzik <jgarzik@bitpay.com>2013-08-25 20:16:23 -0400
commitf1dbed9233fb138026c646db0ac34e83ae2114f1 (patch)
tree68ab1a6332c0f59fc03541a8a1e1a4cad68d18e2 /src/miner.h
parent7bb0f6c5e89a4d5c9a6ef42f5643f42646da44c9 (diff)
miner: constify CreateNewBlock() arg scriptPubKeyIn
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.h b/src/miner.h
index 0bc76be104..36d58be00f 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -11,7 +11,7 @@
/** Run the miner threads */
void GenerateBitcoins(bool fGenerate, CWallet* pwallet);
/** Generate a new block, without valid proof-of-work */
-CBlockTemplate* CreateNewBlock(CScript& scriptPubKeyIn);
+CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn);
CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey);
/** Modify the extranonce in a block */
void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce);