simplewallet: use MAKE_CORE_RPC_VERSION(1,4) instead of 0x10004

This commit is contained in:
kenshi84 2017-01-18 16:11:18 +09:00
parent 71ac698b78
commit 78d560a933

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