From 42a6101cbaf97306ddd94ee9b8091a93fc9673c6 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Tue, 9 Jan 2024 09:57:10 +0100 Subject: [PATCH] Cleanup TODO --- sdk/src/types/block/semantic/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/src/types/block/semantic/mod.rs b/sdk/src/types/block/semantic/mod.rs index b1ba63e9ad..c154c60558 100644 --- a/sdk/src/types/block/semantic/mod.rs +++ b/sdk/src/types/block/semantic/mod.rs @@ -310,9 +310,9 @@ impl<'a> SemanticValidationContext<'a> { return Ok(Some(TransactionFailureReason::SumInputsOutputsAmountMismatch)); } - // TODO re-enable in mana semantic PR - // if self.input_mana > self.output_mana && - // !self.transaction.has_capability(TransactionCapabilityFlag::BurnMana) { // TODO: add a variant https://github.com/iotaledger/iota-sdk/issues/1430 + // TODO re-enable with https://github.com/iotaledger/iota-sdk/issues/1692 + // if self.input_mana > self.output_mana && !self.transaction.has_capability(TransactionCapabilityFlag::BurnMana) { + // // TODO: add a variant https://github.com/iotaledger/iota-sdk/issues/1430 // return Ok(Some(TransactionFailureReason::SemanticValidationFailed)); // }