wallet: fix signed_tx_set RangeProofType serialization

This commit is contained in:
jeffro256 2025-01-18 00:43:49 -06:00
parent 1a725dc82e
commit f00ce66d40
No known key found for this signature in database
GPG Key ID: 6F79797A6E392442

View File

@ -2451,7 +2451,7 @@ namespace boost
bool use_bulletproofs = x.rct_config.range_proof_type != rct::RangeProofBorromean;
a & use_bulletproofs;
if (!typename Archive::is_saving())
x.rct_config = { use_bulletproofs ? rct::RangeProofBulletproof : rct::RangeProofBorromean, 0 };
x.rct_config = { use_bulletproofs ? rct::RangeProofPaddedBulletproof : rct::RangeProofBorromean, 0 };
return;
}
a & x.rct_config;