ringct: remove unused range proof types and fix serialization bug

This commit is contained in:
jeffro256 2025-01-18 00:32:03 -06:00
parent 2e8a128c75
commit ff4e86dc4f
No known key found for this signature in database
GPG key ID: 6F79797A6E392442
12 changed files with 14 additions and 249 deletions

View file

@ -2509,7 +2509,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;