diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-10 01:36:41 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-10 01:37:46 +0200 |
commit | 4ebd80298d53ab24a5f2624b6f86bfd43be5fa6e (patch) | |
tree | 63f4efa2fe390bc4948dc4c410c2ffa365e46c09 | |
parent | 1575c5171fac4f3e4f3d0794ed0312a17be6d7f1 (diff) | |
parent | faadbe17333a41fc1c15551f74a6ae5dcbd6aedc (diff) |
Merge pull request #4882
faadbe1 remove unneeded cast in rpcmisc.cpp (Philip Kaufmann)
-rw-r--r-- | src/rpcmisc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcmisc.cpp b/src/rpcmisc.cpp index bd992397b8..917c840536 100644 --- a/src/rpcmisc.cpp +++ b/src/rpcmisc.cpp @@ -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())); |