diff --git a/Lib9c.Policy/NCStagePolicy.cs b/Lib9c.Policy/NCStagePolicy.cs index d14b9eefee..13b77bdf60 100644 --- a/Lib9c.Policy/NCStagePolicy.cs +++ b/Lib9c.Policy/NCStagePolicy.cs @@ -90,14 +90,7 @@ public bool Stage(BlockChain blockChain, Transaction transaction) { if (_accessControlService?.GetTxQuota(transaction.Signer) is { } acsTxQuota) { - if (_quotaPerSignerList.ContainsKey(transaction.Signer)) - { - _quotaPerSignerList[transaction.Signer] = acsTxQuota; - } - else - { - _quotaPerSignerList.TryAdd(transaction.Signer, acsTxQuota); - } + _quotaPerSignerList[transaction.Signer] = acsTxQuota; if (acsTxQuota == 0) {