Skip to content

Commit 5622bdd

Browse files
committed
catch nonce error
1 parent 7576918 commit 5622bdd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

price_pusher/src/evm/evm.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,11 @@ export class EvmPricePusher implements IPricePusher {
236236

237237
if (
238238
err.message.includes("the tx doesn't have the correct nonce.") ||
239-
err.message.includes("nonce too low")
239+
err.message.includes("nonce too low") ||
240+
err.message.includes("invalid nonce")
240241
) {
241242
console.log(
242-
"Multiple users are using the same accounts and nonce is incorrect. Skipping this push."
243+
"The nonce is incorrect (are multiple users using this account?). Skipping this push."
243244
);
244245
return;
245246
}

0 commit comments

Comments
 (0)