Skip to content

Commit 0366e68

Browse files
committed
Code review changes.
1 parent 696fb2e commit 0366e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sequencer/src/protocol/production/sequencing/BlockProducerModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class BlockProducerModule extends SequencerModule<BlockConfig> {
149149
txs: PendingTransaction[];
150150
metadata: BlockWithResult;
151151
}> {
152-
const txs = (await this.mempool.getTxs()).slice(0, this.maximumBlockSize());
152+
const txs = await this.mempool.getTxs(this.maximumBlockSize());
153153

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

0 commit comments

Comments
 (0)