diff --git a/src/AElf.WebApp.Application.Chain/Services/TransactionResultAppService.cs b/src/AElf.WebApp.Application.Chain/Services/TransactionResultAppService.cs index 8bdc750025..01d4272b64 100644 --- a/src/AElf.WebApp.Application.Chain/Services/TransactionResultAppService.cs +++ b/src/AElf.WebApp.Application.Chain/Services/TransactionResultAppService.cs @@ -120,16 +120,6 @@ await _transactionResultProxyService.InvalidTransactionResultService.GetInvalidT return output; } } - - var chain = await _blockchainService.GetChainAsync(); - if (chain.BestChainHeight - output.Transaction.RefBlockNumber > KernelConstants.ReferenceBlockValidPeriod - && transactionResult.Status == TransactionResultStatus.NotExisted) - { - // set a the Error message to the output to infer that the transaction will never succeed. - var error = "The transaction is already expired, and it will never succeed."; - output.Error = TransactionErrorResolver.TakeErrorMessage(error, _webAppOptions.IsDebugMode); - return output; - } return output; } ///