From 17f7fd821cf71717a158e2c38699baa6ab2f2af8 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 28 Aug 2018 22:25:28 -0400 Subject: ... --- salticidae | 2 +- src/hotstuff.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/salticidae b/salticidae index 6b86aad..52e051c 160000 --- a/salticidae +++ b/salticidae @@ -1 +1 @@ -Subproject commit 6b86aade15895d205f504ba70da93979bd6ee663 +Subproject commit 52e051cb6924266003ef21814b5ebaf2b7b45241 diff --git a/src/hotstuff.cpp b/src/hotstuff.cpp index e1e2f81..e235bd8 100644 --- a/src/hotstuff.cpp +++ b/src/hotstuff.cpp @@ -25,7 +25,7 @@ void MsgVote::postponed_parse(HotStuffCore *hsc) { const opcode_t MsgReqBlock::opcode; MsgReqBlock::MsgReqBlock(const std::vector &blk_hashes) { - serialized << (uint32_t)htole(blk_hashes.size()); + serialized << htole((uint32_t)blk_hashes.size()); for (const auto &h: blk_hashes) serialized << h; } -- cgit v1.2.3-70-g09d2