diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-02-20 17:46:00 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-02-20 17:46:00 +0200 |
commit | 0fc5eec9cd8baea019a693f682102d85243142a4 (patch) | |
tree | 9f07b0e308aac5f6e241324ba3b5de79e273bb9f /src/wallet/wallet_rpc_server_commands_defs.h | |
parent | Merge pull request #3275 (diff) | |
parent | Add default value to max_height, otherwise it's 0 (diff) | |
download | monero-0fc5eec9cd8baea019a693f682102d85243142a4.tar.xz |
Merge pull request #3235
6866ed46 Add default value to max_height, otherwise it's 0 (Michał Sałaban)
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r-- | src/wallet/wallet_rpc_server_commands_defs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h index 82b6b78f9..e38cba5a5 100644 --- a/src/wallet/wallet_rpc_server_commands_defs.h +++ b/src/wallet/wallet_rpc_server_commands_defs.h @@ -29,6 +29,7 @@ // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers #pragma once +#include "cryptonote_config.h" #include "cryptonote_protocol/cryptonote_protocol_defs.h" #include "cryptonote_basic/cryptonote_basic.h" #include "cryptonote_basic/subaddress_index.h" @@ -1262,7 +1263,7 @@ namespace wallet_rpc KV_SERIALIZE(pool); KV_SERIALIZE(filter_by_height); KV_SERIALIZE(min_height); - KV_SERIALIZE(max_height); + KV_SERIALIZE_OPT(max_height, (uint64_t)CRYPTONOTE_MAX_BLOCK_NUMBER); KV_SERIALIZE(account_index); KV_SERIALIZE(subaddr_indices); END_KV_SERIALIZE_MAP() |