From ec6a1f84324faf8e7c92f32137464db57410f58a Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 27 Jul 2018 17:33:23 -0400 Subject: fix signature verification bug --- include/hotstuff/type.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/hotstuff/type.h') diff --git a/include/hotstuff/type.h b/include/hotstuff/type.h index 6014dab..0897956 100644 --- a/include/hotstuff/type.h +++ b/include/hotstuff/type.h @@ -28,7 +28,8 @@ using salticidae::Event; using salticidae::EventContext; using promise::promise_t; -inline std::string get_hex10(const uint256_t &x) { +template +inline std::string get_hex10(const SerialType &x) { return get_hex(x).substr(0, 10); } -- cgit v1.2.3