Skip to content

Commit

Permalink
Revert "Make sure all output token ids are actually configured (mobil…
Browse files Browse the repository at this point in the history
…ecoinfoundation#1876)"

This reverts commit aa68e53.
  • Loading branch information
cbeck88 committed Apr 29, 2022
1 parent d991eee commit a0d083b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions consensus/enclave/impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a0d083b

Please sign in to comment.