catch nonce error

This commit is contained in:
Jayant Krishnamurthy 2024-03-05 09:27:51 -08:00
parent 75769182f7
commit 5622bddd8c
1 changed files with 3 additions and 2 deletions

View File

@ -236,10 +236,11 @@ export class EvmPricePusher implements IPricePusher {
if (
err.message.includes("the tx doesn't have the correct nonce.") ||
err.message.includes("nonce too low")
err.message.includes("nonce too low") ||
err.message.includes("invalid nonce")
) {
console.log(
"Multiple users are using the same accounts and nonce is incorrect. Skipping this push."
"The nonce is incorrect (are multiple users using this account?). Skipping this push."
);
return;
}