mirror of
https://github.com/monero-project/monero.git
synced 2026-06-12 19:11:36 -07:00
ringct: remove unused range proof types and fix serialization bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user