mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
remove unneeded cast in rpcmisc.cpp
This commit is contained in:
parent
8bc0a0173e
commit
faadbe1733
@ -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…
Reference in New Issue
Block a user