monacoinproject / monacoin

MIT License
331 stars 90 forks source link

Is help message of rpcport wrong? #2

Closed ohac closed 10 years ago

ohac commented 10 years ago

$ ./monacoind --help | grep rpcport -rpcport= Listen for JSON-RPC connections on (default: 9402 or testnet: 19402)

$ grep -n 9402 bitcoinrpc.cpp 42: return GetBoolArg("-testnet", false) ? 9402 : 19402;

Which is wrong?

ohac commented 10 years ago

Fixed