Merge pull request #1592

78d560a9 simplewallet: use MAKE_CORE_RPC_VERSION(1,4) instead of 0x10004 (kenshi84)
This commit is contained in:
Riccardo Spagni 2017-01-20 20:58:55 -05:00
commit 4bcd284c76
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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);