diff options
author | luigi1111 <luigi1111w@gmail.com> | 2024-02-24 10:07:54 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2024-02-24 10:07:54 -0500 |
commit | 3078e44847bb4f78ff840d7553a1414f1f43d8a1 (patch) | |
tree | f3a4e2a43fbdba846783930f212f592db10b7947 | |
parent | Merge pull request #9143 (diff) | |
parent | Zero initialize rctSigBase elements (diff) | |
download | monero-3078e44847bb4f78ff840d7553a1414f1f43d8a1.tar.xz |
Merge pull request #9155
ed50938 Zero initialize rctSigBase elements (Lee *!* Clagett)
-rw-r--r-- | src/ringct/rctTypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index 585d5fb49..c168c8571 100644 --- a/src/ringct/rctTypes.h +++ b/src/ringct/rctTypes.h @@ -325,6 +325,10 @@ namespace rct { ctkeyV outPk; xmr_amount txnFee; // contains b + rctSigBase() : + type(RCTTypeNull), message{}, mixRing{}, pseudoOuts{}, ecdhInfo{}, outPk{}, txnFee(0) + {} + template<bool W, template <bool> class Archive> bool serialize_rctsig_base(Archive<W> &ar, size_t inputs, size_t outputs) { |