LimitSwap icon indicating copy to clipboard operation
LimitSwap copied to clipboard

Add a specific ammount of retries when failed transactions are found

Open alb2001 opened this issue 3 years ago • 0 comments

Sometimes the bot attempts to transfer tokens and get failed transactions on each attempt. I would suggest adding maybe two new keys for the tokens.json file such as

retries_buy
retries_sell

And add an integer to it, so the bot doesn't attempt do do more transactions if it has failed. Then log it into the log and the LimitSwap CLI screen.

Do this until LimitSwap is restarted, or maybe add a flag on the tokens.json file like this

failed

Set it to true or false automatically if the transactions have failed the threshold

alb2001 avatar Aug 23 '21 20:08 alb2001