Report rpc port in error when unable to connect
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// Copyright (c) 2010 Satoshi Nakamoto
|
||||
// Copyright (c) 2009-2014 The Bitcoin Core developers
|
||||
// Copyright (c) 2016-2021 The Hush developers
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
/******************************************************************************
|
||||
* Copyright © 2014-2019 The SuperNET Developers. *
|
||||
* *
|
||||
@@ -19,9 +19,7 @@
|
||||
******************************************************************************/
|
||||
|
||||
#include "chainparamsbase.h"
|
||||
|
||||
#include "util.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
/**
|
||||
@@ -32,7 +30,7 @@ class CBaseMainParams : public CBaseChainParams
|
||||
public:
|
||||
CBaseMainParams()
|
||||
{
|
||||
nRPCPort = 7771;
|
||||
nRPCPort = 18031;
|
||||
}
|
||||
};
|
||||
static CBaseMainParams mainParams;
|
||||
@@ -45,7 +43,7 @@ class CBaseTestNetParams : public CBaseChainParams
|
||||
public:
|
||||
CBaseTestNetParams()
|
||||
{
|
||||
nRPCPort = 17771;
|
||||
nRPCPort = 28031;
|
||||
strDataDir = "testnet3";
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user