From a1e1b2eab5a1d0ab24182c4c2cb28899aacf43c6 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 10 Sep 2018 21:38:28 -0400 Subject: ... --- include/hotstuff/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hotstuff') diff --git a/include/hotstuff/client.h b/include/hotstuff/client.h index 41e62af..4fde7b2 100644 --- a/include/hotstuff/client.h +++ b/include/hotstuff/client.h @@ -43,7 +43,7 @@ class CommandDummy: public Command { DataStream s; s << cid << n; #if HOTSTUFF_CMD_REQSIZE > 0 - s << payload; + s.put_data(payload, payload + HOTSTUFF_CMD_REQSIZE); #endif return s.get_hash(); } -- cgit v1.2.3-70-g09d2