We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696fb2e commit 0366e68Copy full SHA for 0366e68
packages/sequencer/src/protocol/production/sequencing/BlockProducerModule.ts
@@ -149,7 +149,7 @@ export class BlockProducerModule extends SequencerModule<BlockConfig> {
149
txs: PendingTransaction[];
150
metadata: BlockWithResult;
151
}> {
152
- const txs = (await this.mempool.getTxs()).slice(0, this.maximumBlockSize());
+ const txs = await this.mempool.getTxs(this.maximumBlockSize());
153
154
const parentBlock = await this.blockQueue.getLatestBlock();
155
0 commit comments