Zero initialize rctSigBase elements

This commit is contained in:
Lee *!* Clagett 2024-02-06 12:47:47 -05:00
parent ac02af9286
commit ed50938af4

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