diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2013-08-25 20:16:23 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2013-08-25 20:16:23 -0400 |
commit | f1dbed9233fb138026c646db0ac34e83ae2114f1 (patch) | |
tree | 68ab1a6332c0f59fc03541a8a1e1a4cad68d18e2 /src/miner.cpp | |
parent | 7bb0f6c5e89a4d5c9a6ef42f5643f42646da44c9 (diff) |
miner: constify CreateNewBlock() arg scriptPubKeyIn
Diffstat (limited to 'src/miner.cpp')
-rw-r--r-- | src/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index bea69ad1b6..3ecf1609e1 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -141,7 +141,7 @@ public: } }; -CBlockTemplate* CreateNewBlock(CScript& scriptPubKeyIn) +CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) { // Create new block auto_ptr<CBlockTemplate> pblocktemplate(new CBlockTemplate()); |