diff options
author | Lee *!* Clagett <code@leeclagett.com> | 2024-02-06 12:47:47 -0500 |
---|---|---|
committer | Lee *!* Clagett <code@leeclagett.com> | 2024-02-06 13:23:10 -0500 |
commit | 052df1b28ca89b912258ac573516dad5325344e8 (patch) | |
tree | de306f6b2db7357a2ad59588d567593d69d10d88 | |
parent | Merge pull request #9080 (diff) | |
download | monero-052df1b28ca89b912258ac573516dad5325344e8.tar.xz |
Zero initialize rctSigBase elements
-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 32cd8dc6f..dc3d9768b 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) { |