Remove TODO on reading pseudo_outs for AggregateMlsagBorromean

This commit is contained in:
Luke Parker
2024-06-22 15:32:11 -04:00
parent 74aaac46ef
commit 6fc8b30df2

View File

@@ -219,7 +219,9 @@ impl RctBase {
RctBase { RctBase {
fee: read_varint(r)?, fee: read_varint(r)?,
// Only read pseudo_outs if they have yet to be moved to RctPrunable // Only read pseudo_outs if they have yet to be moved to RctPrunable
// TODO: Shouldn't this be any Mlsag*? // This would apply to AggregateMlsagBorromean and MlsagBorromean, except
// AggregateMlsagBorromean doesn't use pseudo_outs due to using the sum of the output
// commitments directly as the effective singular pseudo-out
pseudo_outs: if rct_type == RctType::MlsagBorromean { pseudo_outs: if rct_type == RctType::MlsagBorromean {
read_raw_vec(read_point, inputs, r)? read_raw_vec(read_point, inputs, r)?
} else { } else {