summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-25 12:53:31 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-25 12:53:31 -0700
commit6475e1faf6befebdb88cf4d23de492acbc8820d3 (patch)
tree06c2f9a9a3310010803818446c71af6843469ba3
parent752fc0742e4f86e25f50ce6bf831afbeeb799df5 (diff)
downloadinfinitytier-6475e1faf6befebdb88cf4d23de492acbc8820d3.tar.gz
infinitytier-6475e1faf6befebdb88cf4d23de492acbc8820d3.zip
I think this is the last one.
-rw-r--r--node/Revocation.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Revocation.hpp b/node/Revocation.hpp
index 46a5d4f8..17eefcb8 100644
--- a/node/Revocation.hpp
+++ b/node/Revocation.hpp
@@ -155,7 +155,7 @@ public:
template<unsigned int C>
inline unsigned int deserialize(const Buffer<C> &b,unsigned int startAt = 0)
{
- memset(this,0,sizeof(Revocation));
+ *this = Revocation();
unsigned int p = startAt;