Skip to content

Commit 17221bf

Browse files
committed
chainparams: don't use std namespace
1 parent f0deec5 commit 17221bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/chainparams.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
#include <boost/assign/list_of.hpp>
1414

15-
using namespace std;
16-
1715
#include "chainparamsseeds.h"
1816

1917
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
2220
txNew.nVersion = 1;
2321
txNew.vin.resize(1);
2422
txNew.vout.resize(1);
25-
txNew.vin[0].scriptSig = CScript() << 486604799 << CScriptNum(4) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
23+
txNew.vin[0].scriptSig = CScript() << 486604799 << CScriptNum(4) << std::vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
2624
txNew.vout[0].nValue = genesisReward;
2725
txNew.vout[0].scriptPubKey = genesisOutputScript;
2826

0 commit comments

Comments
 (0)