File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/AElf.WebApp.Application.Chain/Services Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -120,16 +120,6 @@ await _transactionResultProxyService.InvalidTransactionResultService.GetInvalidT
120120 return output ;
121121 }
122122 }
123-
124- var chain = await _blockchainService . GetChainAsync ( ) ;
125- if ( chain . BestChainHeight - output . Transaction . RefBlockNumber > KernelConstants . ReferenceBlockValidPeriod
126- && transactionResult . Status == TransactionResultStatus . NotExisted )
127- {
128- // set a the Error message to the output to infer that the transaction will never succeed.
129- var error = "The transaction is already expired, and it will never succeed." ;
130- output . Error = TransactionErrorResolver . TakeErrorMessage ( error , _webAppOptions . IsDebugMode ) ;
131- return output ;
132- }
133123 return output ;
134124 }
135125 /// <summary>
You can’t perform that action at this time.
0 commit comments