Skip to content

Commit

Permalink
Merge branch 'master' into feature/optimize-messages-groups
Browse files Browse the repository at this point in the history
  • Loading branch information
SmaGMan authored Oct 2, 2024
2 parents 056ec04 + c386a9b commit 22e11bd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions collator/src/collator/do_collate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,10 +1109,7 @@ impl CollatorStdImpl {
.await?;
}

// FIXME: Minter only mints extra currencies, so this will not work
// TODO: Add `is_zero` to `CurrencyCollection` (but it might be heavy,
// since we must check all dict items)
if !collator_data.value_flow.minted.tokens.is_zero() {
if !collator_data.value_flow.minted.other.is_empty() {
self.create_special_transaction(
&config.get_minter_address()?,
collator_data.value_flow.minted.clone(),
Expand Down

0 comments on commit 22e11bd

Please # to comment.