You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
atm, withdraw2 task is inside of an if block that checks if withdrawAmount is > 0, however bot relies on the task to ensure the bounty of the transaction, and because sometime the bounty can be 0 for one of the tokens, that ends up bypassing the task and as a result, bot fails to ensure the bounty check correctly resulting in negative bounty txs.
The withdraw2 task used to be outside of the if block, but since has been moved inside of it. Possible solution is to move it back outside of if block, although open to discussion.
The text was updated successfully, but these errors were encountered:
atm, withdraw2 task is inside of an
if
block that checks if withdrawAmount is > 0, however bot relies on the task to ensure the bounty of the transaction, and because sometime the bounty can be 0 for one of the tokens, that ends up bypassing the task and as a result, bot fails to ensure the bounty check correctly resulting in negative bounty txs.The withdraw2 task used to be outside of the
if
block, but since has been moved inside of it. Possible solution is to move it back outside ofif
block, although open to discussion.The text was updated successfully, but these errors were encountered: