summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index e8d8a51e..70be56fc 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -135,7 +135,11 @@ public:
COM_RESERVED_ID_NETWORK_ID = 1 // network ID, max delta always 0
};
- CertificateOfMembership() {}
+ CertificateOfMembership()
+ {
+ memset(_signature.data,0,_signature.size());
+ }
+
CertificateOfMembership(const char *s) { fromString(s); }
CertificateOfMembership(const std::string &s) { fromString(s.c_str()); }