summaryrefslogtreecommitdiff
path: root/node/CertificateOfOwnership.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/CertificateOfOwnership.hpp')
-rw-r--r--node/CertificateOfOwnership.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/CertificateOfOwnership.hpp b/node/CertificateOfOwnership.hpp
index 5adee6c0..ffb0f74b 100644
--- a/node/CertificateOfOwnership.hpp
+++ b/node/CertificateOfOwnership.hpp
@@ -194,7 +194,7 @@ public:
{
unsigned int p = startAt;
- memset(this,0,sizeof(CertificateOfOwnership));
+ *this = CertificateOfOwnership();
_networkId = b.template at<uint64_t>(p); p += 8;
_ts = b.template at<uint64_t>(p); p += 8;