diff options
author | Determinant <ted.sybil@gmail.com> | 2019-07-02 15:13:28 -0400 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-07-02 15:13:28 -0400 |
commit | bca672b4d549e7fea43691ad387b003936ef2b8a (patch) | |
tree | a6c5b01f253a5c848954848c858999aa34054b7d /include/salticidae/stream.h | |
parent | ce842602ccac8c10d025a055c966bc32f204f75c (diff) |
fill zero for an unloaded uint256_t; other minor changes
Diffstat (limited to 'include/salticidae/stream.h')
-rw-r--r-- | include/salticidae/stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/stream.h b/include/salticidae/stream.h index 2f41782..251e3f7 100644 --- a/include/salticidae/stream.h +++ b/include/salticidae/stream.h @@ -241,7 +241,7 @@ class Blob: public Serializable { public: - Blob(): loaded(false) {} + Blob(): loaded(false) { memset(data, 0, sizeof(data)); } Blob(const bytearray_t &arr) { if (arr.size() != N / 8) throw std::invalid_argument("incorrect Blob size"); |