diff --git a/src/util.cpp b/src/util.cpp index 9d684a96e..958c6c012 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -644,7 +644,7 @@ void ReadConfigFile(map& mapSettingsRet, // If datadir is changed in .conf file: ClearDatadirCache(); extern uint16_t BITCOIND_PORT; - BITCOIND_PORT = GetArg("-rpcport",BITCOIND_PORT); + BITCOIND_PORT = GetArg("-rpcport",BaseParams().RPCPort()); fprintf(stderr,"from conf file %s RPC %u, used to be %u\n",ASSETCHAINS_SYMBOL,BITCOIND_PORT,BITCOIND_PORT); } diff --git a/src/zcash/CreateJoinSplit.cpp b/src/zcash/CreateJoinSplit.cpp index 7fdc8d953..f29b2ec82 100644 --- a/src/zcash/CreateJoinSplit.cpp +++ b/src/zcash/CreateJoinSplit.cpp @@ -8,6 +8,7 @@ #include "libsnark/common/profiling.hpp" char ASSETCHAINS_SYMBOL[16]; int64_t MAX_MONEY = 200000000 * 100000000LL; +uint16_t BITCOIND_PORT = 7771; using namespace libzcash;