Zero initialize rctSigBase elements

This commit is contained in:
Lee *!* Clagett 2024-02-06 12:47:47 -05:00
parent 8eab181fe1
commit 052df1b28c

View File

@ -325,6 +325,10 @@ namespace rct {
ctkeyV outPk; ctkeyV outPk;
xmr_amount txnFee; // contains b xmr_amount txnFee; // contains b
rctSigBase() :
type(RCTTypeNull), message{}, mixRing{}, pseudoOuts{}, ecdhInfo{}, outPk{}, txnFee(0)
{}
template<bool W, template <bool> class Archive> template<bool W, template <bool> class Archive>
bool serialize_rctsig_base(Archive<W> &ar, size_t inputs, size_t outputs) bool serialize_rctsig_base(Archive<W> &ar, size_t inputs, size_t outputs)
{ {