Skip to content

Commit

Permalink
fix(jetton): Incompatible types Address and <null> for binary operato…
Browse files Browse the repository at this point in the history
…r != (#17)
  • Loading branch information
satyasai69 authored Dec 10, 2024
1 parent 57e84a2 commit 8afe9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/traits/tokens/jetton/JettonMaster.tact
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ trait JettonMaster {

inline fun _burn_notification(ctx: Context, msg: JettonBurnNotification) {
self.total_supply = (self.total_supply - msg.amount);
if (msg.response_destination != null) {
if (msg.response_destination.toString() != "") {
send(SendParameters{
to: msg.response_destination,
value: 0,
Expand Down

0 comments on commit 8afe9f6

Please sign in to comment.