We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce58319 commit 8ae5da0Copy full SHA for 8ae5da0
1 file changed
packages/transaction-pool-worker/source/handlers/commit.ts
@@ -14,6 +14,9 @@ export class CommitHandler {
14
@inject(Identifiers.TransactionPool.Service)
15
private readonly transactionPoolService!: Contracts.TransactionPool.Service;
16
17
+ @inject(Identifiers.TransactionPool.Selector)
18
+ private readonly selector!: Contracts.TransactionPool.Selector;
19
+
20
@inject(Identifiers.Services.Log.Service)
21
protected readonly logger!: Contracts.Kernel.Logger;
22
@@ -25,6 +28,7 @@ export class CommitHandler {
25
28
): Promise<void> {
26
29
try {
27
30
this.stateStore.setBlockNumber(blockNumber);
31
+ this.selector.clear();
32
33
if (this.configuration.isNewMilestone()) {
34
void this.transactionPoolService.reAddTransactions();
0 commit comments