Skip to content

Commit

Permalink
fix: buyTokensWithLottery
Browse files Browse the repository at this point in the history
  • Loading branch information
btspoony committed Dec 28, 2024
1 parent d251e24 commit 93ffa59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cadence/contracts/FixesTradablePool.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ access(all) contract FixesTradablePool {
)

// During bonding curve is active, the lottery ticket will be bought with 10% of the token you obtained
if !self.isLocalActive() {
if self.isLocalActive() {
// 10% of the token you obtained will be used to buy the lottery tickets
// 90% of the token you obtained will be deposited to the recipient
var depositToUser = tokenYouObtained.balance * 0.9
Expand Down

0 comments on commit 93ffa59

Please sign in to comment.