Skip to content

Commit

Permalink
Restore deleted lines of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
chopin-fan committed Jul 19, 2024
1 parent 778a952 commit 6d0347b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/AElf.Kernel/Miner/Application/MiningService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ public async Task<BlockExecutedSet> MineAsync(RequestMiningDto requestMiningDto,

var block = await blockTask;
var systemTransactions = await systemTransactionsTask;

_systemTransactionExtraDataProvider.SetSystemTransactionCount(systemTransactions.Count,
block.Header);

var txTotalCount = transactions.Count + systemTransactions.Count;

var pending = txTotalCount > requestMiningDto.TransactionCountLimit
Expand Down

0 comments on commit 6d0347b

Please sign in to comment.