-
Notifications
You must be signed in to change notification settings - Fork 7
Description
if (msg.responseDestination != null && msgValue > 0) {
message(MessageParameters {
to: msg.responseDestination!!,
value: msgValue, // Should be replaced with 0
mode: SendRemainingBalance | SendIgnoreErrors,
bounce: false,
body: JettonExcesses { queryId: msg.queryId }.toCell(),
});
}Actually, when mode SendRemainingBalance is used, value of message is ignored, so it doesn't change anything.
Still, it's better to replace with 0 as in that form it is more obvious how that works