miner: constify CreateNewBlock() arg scriptPubKeyIn

This commit is contained in:
Jeff Garzik
2013-08-25 20:16:23 -04:00
parent 7bb0f6c5e8
commit f1dbed9233
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ public:
}
};
CBlockTemplate* CreateNewBlock(CScript& scriptPubKeyIn)
CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
{
// Create new block
auto_ptr<CBlockTemplate> pblocktemplate(new CBlockTemplate());