From 6475e1faf6befebdb88cf4d23de492acbc8820d3 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 25 Mar 2019 12:53:31 -0700 Subject: [PATCH] I think this is the last one. --- node/Revocation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Revocation.hpp b/node/Revocation.hpp index 46a5d4f8a..17eefcb85 100644 --- a/node/Revocation.hpp +++ b/node/Revocation.hpp @@ -155,7 +155,7 @@ public: template inline unsigned int deserialize(const Buffer &b,unsigned int startAt = 0) { - memset(this,0,sizeof(Revocation)); + *this = Revocation(); unsigned int p = startAt;