Skip to content

Commit

Permalink
Changed incorrect Magic for testnet
Browse files Browse the repository at this point in the history
Reversed flags
  • Loading branch information
martin-key committed Oct 30, 2017
1 parent 506da83 commit 00b353f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int64_t>::max();
minFeeFilter = 0;
lastSentFeeFilter = 0;
Expand Down

0 comments on commit 00b353f

Please sign in to comment.