Skip to content

Commit

Permalink
fix: clear error message as setup mc
Browse files Browse the repository at this point in the history
  • Loading branch information
alan890104 committed Apr 17, 2024
1 parent 7fb34e7 commit 8c7854d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/jetton_master_chef.tact
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract JettonMasterChef with Deployable, MasterChef {
to: self.owner,
value: 0,
mode: SendRemainingBalance + SendDestroyIfZero,
body: "Send All TON Back".asComment()
body: "Setup Error: non-positive RPS".asComment()
});
return;
}
Expand Down
4 changes: 2 additions & 2 deletions contracts/ton_master_chef.tact
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract TonMasterChef with Deployable, MasterChef {
to: self.owner,
value: 0,
mode: SendRemainingBalance + SendDestroyIfZero,
body: "Send All TON Back".asComment()
body: "Setup Error: non-positive RPS".asComment()
});
return;
}
Expand Down Expand Up @@ -83,7 +83,7 @@ contract TonMasterChef with Deployable, MasterChef {
}

// Deposit the LP tokens for the user
self.userDeposit(msg,ctx);
self.userDeposit(msg, ctx);
}

// MiniChef will send this message to ask MasterChef to send reward
Expand Down

0 comments on commit 8c7854d

Please sign in to comment.