Fix linting errors
This commit is contained in:
@@ -86,6 +86,7 @@ contract MixinTransactions is
|
||||
bytes32 transactionHash = getTransactionHash(transaction);
|
||||
|
||||
// Check transaction is not expired
|
||||
// solhint-disable-next-line not-rely-on-time
|
||||
if (block.timestamp >= transaction.expirationTimeSeconds) {
|
||||
_rrevert(TransactionError(
|
||||
TransactionErrorCodes.EXPIRED,
|
||||
|
@@ -1023,7 +1023,7 @@ describe('Exchange transactions', () => {
|
||||
ExchangeRevertErrors.TransactionErrorCode.Expired,
|
||||
expiredTransactionHash,
|
||||
);
|
||||
expect(tx).to.revertWith(expectedError);
|
||||
return expect(tx).to.revertWith(expectedError);
|
||||
});
|
||||
});
|
||||
describe('examples', () => {
|
||||
|
Reference in New Issue
Block a user