From a0d083b76fde85513d18856e1f6e8afeadb9f625 Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Fri, 29 Apr 2022 11:05:59 -0600 Subject: [PATCH] Revert "Make sure all output token ids are actually configured (#1876)" This reverts commit aa68e53ad0b23614e986ae65716d60e893382674. --- consensus/enclave/impl/src/lib.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/consensus/enclave/impl/src/lib.rs b/consensus/enclave/impl/src/lib.rs index 2fc97dde41..5c9becf46a 100644 --- a/consensus/enclave/impl/src/lib.rs +++ b/consensus/enclave/impl/src/lib.rs @@ -692,15 +692,6 @@ impl ConsensusEnclave for SgxConsensusEnclave { let minimum_fee = ct_min_fee_map .get(&fee_token_id) .ok_or(TransactionValidationError::TokenNotYetConfigured)?; - - // Make sure any extra token ids that appear in the outputs are also already - // configured. (this was github issue #1868) - for token_id in tx.signature.output_token_ids.iter() { - ct_min_fee_map - .get(&TokenId::from(token_id)) - .ok_or(TransactionValidationError::TokenNotYetConfigured)?; - } - mc_transaction_core::validation::validate( &tx, block_index,