mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
miner: constify CreateNewBlock() arg scriptPubKeyIn
This commit is contained in:
@@ -141,7 +141,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
CBlockTemplate* CreateNewBlock(CScript& scriptPubKeyIn)
|
||||
CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
|
||||
{
|
||||
// Create new block
|
||||
auto_ptr<CBlockTemplate> pblocktemplate(new CBlockTemplate());
|
||||
|
||||
Reference in New Issue
Block a user