aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2015-06-05 16:01:44 -0400
committerCory Fields <cory-nospam-@coryfields.com>2015-07-28 15:33:33 -0400
commit17221bf77e07b8c2ef313836d33ac16c21796591 (patch)
tree366fbedb8db3fe5796a9fedd0f7bd3fad2efe5c5 /src/chainparams.cpp
parentf0deec572b304663f5f8e93a573f414e563b353f (diff)
chainparams: don't use std namespace
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r--src/chainparams.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index b2b4e47322..c9dee25c57 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -12,8 +12,6 @@
#include <boost/assign/list_of.hpp>
-using namespace std;
-
#include "chainparamsseeds.h"
static CBlock CreateGenesisBlock(const char* pszTimestamp, CScript genesisOutputScript, uint32_t nTime=1231006505, uint32_t nNonce=2083236893, uint32_t nBits=0x1d00ffff, int32_t nVersion=1, const CAmount& genesisReward=50 * COIN)
@@ -22,7 +20,7 @@ static CBlock CreateGenesisBlock(const char* pszTimestamp, CScript genesisOutput
txNew.nVersion = 1;
txNew.vin.resize(1);
txNew.vout.resize(1);
- txNew.vin[0].scriptSig = CScript() << 486604799 << CScriptNum(4) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
+ txNew.vin[0].scriptSig = CScript() << 486604799 << CScriptNum(4) << std::vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
txNew.vout[0].nValue = genesisReward;
txNew.vout[0].scriptPubKey = genesisOutputScript;