From 928b2c1910bfe957a4cc31746aa395c9ed98006f Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 19 Jul 2018 20:07:16 -0400 Subject: ... --- src/hotstuff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hotstuff.cpp') 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 &blks) { } void MsgHotStuff::parse_rfetchblk(std::vector &blks, HotStuffCore *hsc) const { - DataStream s; + DataStream s(get_payload()); uint32_t size; s >> size; size = letoh(size); -- cgit v1.2.3-70-g09d2