diff options
author | Determinant <tederminant@gmail.com> | 2018-07-19 20:07:16 -0400 |
---|---|---|
committer | Determinant <tederminant@gmail.com> | 2018-07-19 20:07:16 -0400 |
commit | 928b2c1910bfe957a4cc31746aa395c9ed98006f (patch) | |
tree | 79429e7eebf4fe85e8aa5cfea1aaa741652fa3e2 /src/hotstuff.cpp | |
parent | 3c355d7f9e7b491b9fc5af4516286ab4100238c6 (diff) |
...
Diffstat (limited to 'src/hotstuff.cpp')
-rw-r--r-- | src/hotstuff.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hotstuff.cpp b/src/hotstuff.cpp index 687e21d..b247d2e 100644 --- a/src/hotstuff.cpp +++ b/src/hotstuff.cpp @@ -52,7 +52,7 @@ void MsgHotStuff::gen_rfetchblk(const std::vector<block_t> &blks) { } void MsgHotStuff::parse_rfetchblk(std::vector<block_t> &blks, HotStuffCore *hsc) const { - DataStream s; + DataStream s(get_payload()); uint32_t size; s >> size; size = letoh(size); |