From b56f46457c5553cae91e5dc13ca7cdd5bbc5e597 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 11 Jan 2018 17:31:47 +0000 Subject: [PATCH] cryptonote_protocol: fix size_t used in wire format This is 32 bits on 32 bit platforms, but 64 bits on 64 bit platforms. --- src/cryptonote_protocol/cryptonote_protocol_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_protocol/cryptonote_protocol_defs.h b/src/cryptonote_protocol/cryptonote_protocol_defs.h index fc2f4c343..a1682ef8c 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_defs.h +++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h @@ -271,7 +271,7 @@ namespace cryptonote { crypto::hash block_hash; uint64_t current_blockchain_height; - std::vector missing_tx_indices; + std::vector missing_tx_indices; BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE_VAL_POD_AS_BLOB(block_hash)