Zero initialize rctSigBase elements

This commit is contained in:
Lee *!* Clagett 2024-02-06 12:47:47 -05:00
parent 8eab181fe1
commit 052df1b28c
1 changed files with 4 additions and 0 deletions

View File

@ -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)
{