aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2018-08-28 22:25:28 -0400
committerDeterminant <ted.sybil@gmail.com>2018-08-28 22:25:28 -0400
commit17f7fd821cf71717a158e2c38699baa6ab2f2af8 (patch)
treecf390690dcefff12037c02abf73670875c1773f1
parent889d42f00f7f546322965a48e627e0ac76766002 (diff)
...
m---------salticidae0
-rw-r--r--src/hotstuff.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/salticidae b/salticidae
-Subproject 6b86aade15895d205f504ba70da93979bd6ee66
+Subproject 52e051cb6924266003ef21814b5ebaf2b7b4524
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<uint256_t> &blk_hashes) {
- serialized << (uint32_t)htole(blk_hashes.size());
+ serialized << htole((uint32_t)blk_hashes.size());
for (const auto &h: blk_hashes)
serialized << h;
}