Fixed EtherscanProvider NONCE_EXPIRED matching string update.
This commit is contained in:
parent
bac684c5a0
commit
ecae793edf
@ -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
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user