From 6fc8b30df25ca42a4be980c2e15653269f12b263 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 22 Jun 2024 15:32:11 -0400 Subject: [PATCH] Remove TODO on reading pseudo_outs for AggregateMlsagBorromean --- coins/monero/src/ringct.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coins/monero/src/ringct.rs b/coins/monero/src/ringct.rs index 0893dd37..b0341a07 100644 --- a/coins/monero/src/ringct.rs +++ b/coins/monero/src/ringct.rs @@ -219,7 +219,9 @@ impl RctBase { RctBase { fee: read_varint(r)?, // 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 { read_raw_vec(read_point, inputs, r)? } else {