aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-20 20:58:55 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-20 20:58:55 -0500
commit4bcd284c764ac35cd6352fc92b4bc2f75afbc793 (patch)
tree052c240e5e4e70784799872392ce3b2c074ed5d4
parentMerge pull request #1589 (diff)
parentsimplewallet: use MAKE_CORE_RPC_VERSION(1,4) instead of 0x10004 (diff)
downloadmonero-4bcd284c764ac35cd6352fc92b4bc2f75afbc793.tar.xz
Merge pull request #1592
78d560a9 simplewallet: use MAKE_CORE_RPC_VERSION(1,4) instead of 0x10004 (kenshi84)
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 68781dd73..bbdf6a4a7 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -1958,7 +1958,7 @@ bool simple_wallet::print_ring_members(const std::vector<tools::wallet2::pending
return false;
}
// available for RPC version 1.4 or higher
- if (version < 0x10004)
+ if (version < MAKE_CORE_RPC_VERSION(1, 4))
return true;
std::string err;
uint64_t blockchain_height = get_daemon_blockchain_height(err);