Skip to content

Commit

Permalink
Code review changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejMina226 committed Oct 25, 2024
1 parent 696fb2e commit 0366e68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class BlockProducerModule extends SequencerModule<BlockConfig> {
txs: PendingTransaction[];
metadata: BlockWithResult;
}> {
const txs = (await this.mempool.getTxs()).slice(0, this.maximumBlockSize());
const txs = await this.mempool.getTxs(this.maximumBlockSize());

const parentBlock = await this.blockQueue.getLatestBlock();

Expand Down

0 comments on commit 0366e68

Please sign in to comment.