Browse Source

remove unneeded cast in rpcmisc.cpp

0.10
Philip Kaufmann 10 years ago
parent
commit
faadbe1733
  1. 4
      src/rpcmisc.cpp

4
src/rpcmisc.cpp

@ -74,8 +74,8 @@ Value getinfo(const Array& params, bool fHelp) @@ -74,8 +74,8 @@ Value getinfo(const Array& params, bool fHelp)
GetProxy(NET_IPV4, proxy);
Object obj;
obj.push_back(Pair("version", (int)CLIENT_VERSION));
obj.push_back(Pair("protocolversion",(int)PROTOCOL_VERSION));
obj.push_back(Pair("version", CLIENT_VERSION));
obj.push_back(Pair("protocolversion", PROTOCOL_VERSION));
#ifdef ENABLE_WALLET
if (pwalletMain) {
obj.push_back(Pair("walletversion", pwalletMain->GetVersion()));

Loading…
Cancel
Save