@clonegod/ttd-bsc-common 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -245,16 +245,6 @@ class AbstractEvmDexTradePlus extends dist_1.AbastrcatTrade {
|
|
|
245
245
|
const errorMessage = error.message ? error.message.toLowerCase() : '';
|
|
246
246
|
const nonceErrorKeywords = [
|
|
247
247
|
'nonce',
|
|
248
|
-
'nonce too low',
|
|
249
|
-
'nonce too high',
|
|
250
|
-
'nonce has already been used',
|
|
251
|
-
'already known',
|
|
252
|
-
'replacement transaction underpriced',
|
|
253
|
-
'transaction with same nonce',
|
|
254
|
-
'transaction nonce is too low',
|
|
255
|
-
'invalid transaction nonce',
|
|
256
|
-
'insufficient funds',
|
|
257
|
-
'sign bundle to get failure details',
|
|
258
248
|
];
|
|
259
249
|
return nonceErrorKeywords.some(keyword => errorMessage.includes(keyword));
|
|
260
250
|
}
|