Skip to content

Commit

Permalink
fix: small bot list fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Van0k committed Mar 6, 2023
1 parent 8906053 commit 98a7ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/support/BotList.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ contract BotList is ACLNonReentrantTrait, IBotList {

uint72 newRemainingFunds = botFunding[msg.sender][bot].remainingFunds - decreaseAmount;

botFunding[msg.sender][bot].remainingFunds -= newRemainingFunds;
botFunding[msg.sender][bot].remainingFunds = newRemainingFunds;
payable(msg.sender).sendValue(decreaseAmount);

emit BotFundingChanged(msg.sender, bot, newRemainingFunds);
Expand Down

0 comments on commit 98a7ef1

Please sign in to comment.