Browse Source

Clear vFixedSeeds for regtest network

It shouldn't inherit these from testnet.
(seems to be already done for unit test network but forgotten here...)
Fixes #5127.
0.10
Wladimir J. van der Laan 10 years ago
parent
commit
7c0f36c431
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/chainparams.cpp

1
src/chainparams.cpp

@ -266,6 +266,7 @@ public:
nDefaultPort = 18444; nDefaultPort = 18444;
assert(hashGenesisBlock == uint256("0x0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206")); assert(hashGenesisBlock == uint256("0x0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206"));
vFixedSeeds.clear(); // Regtest mode doesn't have any fixed seeds.
vSeeds.clear(); // Regtest mode doesn't have any DNS seeds. vSeeds.clear(); // Regtest mode doesn't have any DNS seeds.
fRequireRPCPassword = false; fRequireRPCPassword = false;

Loading…
Cancel
Save