From f1dbed9233fb138026c646db0ac34e83ae2114f1 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sun, 25 Aug 2013 20:16:23 -0400 Subject: miner: constify CreateNewBlock() arg scriptPubKeyIn --- src/miner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/miner.h') 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); -- cgit v1.2.3