aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-10-24 09:33:16 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-24 09:34:55 +0200
commit7c0f36c431532c787f55b256bd1d6fadbd5b8468 (patch)
tree33ce89671336e47fd48900e365d18ebb27e3dcd1
parent3552d4b859d56726cd25baa6f1e5988050bdad33 (diff)
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.
-rw-r--r--src/chainparams.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index dd76ca6c26..1ab292517a 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -266,6 +266,7 @@ public:
nDefaultPort = 18444;
assert(hashGenesisBlock == uint256("0x0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206"));
+ vFixedSeeds.clear(); // Regtest mode doesn't have any fixed seeds.
vSeeds.clear(); // Regtest mode doesn't have any DNS seeds.
fRequireRPCPassword = false;