Support new OpenEthereum NONCE_EXPIRED string (#2845, #2846).

This commit is contained in:
Richard Moore 2022-04-13 16:51:17 -04:00
parent 948f77050d
commit 0855d6e9f5

@ -84,7 +84,7 @@ function checkError(method: string, error: any, params: any): any {
}
// "nonce too low"
if (message.match(/nonce too low/)) {
if (message.match(/nonce (is )?too low/)) {
logger.throwError("nonce has already been used", Logger.errors.NONCE_EXPIRED, {
error, method, transaction
});