Skip to content

Commit

Permalink
reentantInvoke in lockActions
Browse files Browse the repository at this point in the history
  • Loading branch information
ridev6 committed Aug 9, 2023
1 parent 90ff061 commit 04eb5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ride/boosting.ride
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ func lockActions(i: Invocation, durationMonths: Int) = {

let userGwxAmountTotal = getUserGwxAmountTotal(userAddress)

strict gwxRewardInv = gwxRewardContract.invoke("refreshUserReward", [userAddress.bytes], [])
strict gwxRewardInv = gwxRewardContract.reentrantInvoke("refreshUserReward", [userAddress.bytes], [])

let arr = if (userIsExisting) then [] else [
IntegerEntry(nextUserNumKEY, userNum + 1),
Expand Down

0 comments on commit 04eb5cc

Please sign in to comment.