Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
acerone85 committed Sep 13, 2024
1 parent 5b48295 commit 6b5008d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/services/producer/src/block_producer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,11 @@ where
total_transactions = total_transactions.saturating_add(transactions_number);
if total_cost > gas_limit || total_transactions > transactions_limit {
break;
} else {
new_best = DaBlockHeight(height);
}

new_best = DaBlockHeight(height);
}

if new_best == previous_da_height {
Err(anyhow!(NO_NEW_DA_HEIGHT_FOUND))
} else {
Expand Down

0 comments on commit 6b5008d

Please sign in to comment.