Fixed EtherscanProvider NONCE_EXPIRED matching string update.

This commit is contained in:
Richard Moore 2021-07-02 00:17:45 -04:00
parent bac684c5a0
commit ecae793edf
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

@ -136,7 +136,7 @@ function checkError(method: string, error: any, transaction: any): any {
}
// "Transaction with the same hash was already imported."
if (message.match(/same hash was already imported|transaction nonce is too low/)) {
if (message.match(/same hash was already imported|transaction nonce is too low|nonce too low/)) {
logger.throwError("nonce has already been used", Logger.errors.NONCE_EXPIRED, {
error, method, transaction
});