From 17c523cd75b653c490d1ed99135323f71ba9202d Mon Sep 17 00:00:00 2001 From: gldeng Date: Wed, 9 Oct 2024 10:26:08 +0800 Subject: [PATCH] Fix ExecutionBranchThreshold wrongly used for ExecutionCallThreshold --- .../Application/IExecutionObserverThresholdProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AElf.Kernel.SmartContract/Application/IExecutionObserverThresholdProvider.cs b/src/AElf.Kernel.SmartContract/Application/IExecutionObserverThresholdProvider.cs index 22df31d5a3..1515ab0c20 100644 --- a/src/AElf.Kernel.SmartContract/Application/IExecutionObserverThresholdProvider.cs +++ b/src/AElf.Kernel.SmartContract/Application/IExecutionObserverThresholdProvider.cs @@ -33,7 +33,7 @@ public IExecutionObserverThreshold GetExecutionObserverThreshold(IBlockIndex blo var branchCountObserverThreshold = GetBlockExecutedData(blockIndex, BranchCountThresholdKey)?.Value ?? SmartContractConstants.ExecutionBranchThreshold; var callCountObserverThreshold = GetBlockExecutedData(blockIndex, CallCountThresholdKey)?.Value ?? - SmartContractConstants.ExecutionBranchThreshold; + SmartContractConstants.ExecutionCallThreshold; return new ExecutionObserverThreshold { ExecutionBranchThreshold = branchCountObserverThreshold,