Merge pull request #9718

f00ce66d4 wallet: fix signed_tx_set RangeProofType serialization (jeffro256)
This commit is contained in:
tobtoht 2025-02-13 17:38:31 +00:00
commit 5a326dba62
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -2451,7 +2451,7 @@ namespace boost
bool use_bulletproofs = x.rct_config.range_proof_type != rct::RangeProofBorromean; bool use_bulletproofs = x.rct_config.range_proof_type != rct::RangeProofBorromean;
a & use_bulletproofs; a & use_bulletproofs;
if (!typename Archive::is_saving()) 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; return;
} }
a & x.rct_config; a & x.rct_config;