From 00b353fde2fa6b7baffd92a6fcf2367ff60d38ad Mon Sep 17 00:00:00 2001 From: Martin Kuvandzhiev Date: Wed, 25 Oct 2017 02:51:36 +0300 Subject: [PATCH] Changed incorrect Magic for testnet Reversed flags --- src/chainparams.cpp | 6 +----- src/net.cpp | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index b9ed6838d..6ced3423d 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -369,11 +369,7 @@ class CRegTestParams : public CChainParams { pchMessageStart[1] = 0xbf; pchMessageStart[2] = 0xb5; pchMessageStart[3] = 0xda; - - pchMessageStart[0] = 0xde; - pchMessageStart[1] = 0xbf; - pchMessageStart[2] = 0xb5; - pchMessageStart[3] = 0xda; + nDefaultPort = 18444; nPruneAfterHeight = 1000; const size_t N = 48, K = 5; diff --git a/src/net.cpp b/src/net.cpp index a7351952e..8c2386095 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2731,7 +2731,7 @@ CNode::CNode(NodeId idIn, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn nPingUsecStart = 0; nPingUsecTime = 0; fPingQueued = false; - fUsesGoldMagic = true; + fUsesGoldMagic = false; nMinPingUsecTime = std::numeric_limits::max(); minFeeFilter = 0; lastSentFeeFilter = 0;