Skip to content

Commit e6f2fa0

Browse files
committed
review fixes
1 parent e884664 commit e6f2fa0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

contracts/imports/helper.fc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
;; const slice zero_asset = "00000000000000000000000000000000"s;
1+
slice tact_fill_zeros() asm "x{0000000000000000000000000000000000000000000000000000000000000000} b{0} |+ PUSHSLICE";
22

33
cell fill_zeros(cell jetton_masters) {
44
cell assets = new_dict();
5-
slice zero_cs = begin_cell().store_int(0,257).end_cell().begin_parse();
5+
slice zero_cs = tact_fill_zeros();
66
while (~ jetton_masters.dict_empty?()) {
77
var(_, wallet_addr, _) = jetton_masters~dict::delete_get_min(267);
88
assets~dict_set(267, wallet_addr, zero_cs);

contracts/multitoken_dex.tact

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ contract MultitokenDex {
5757
send(SendParameters{
5858
to: sender(),
5959
value: 0,
60-
mode: 64,
60+
mode: SendRemainingValue,
6161
body: "Deployed".asComment()
6262
});
6363
}
@@ -100,7 +100,7 @@ contract MultitokenDex {
100100
send(SendParameters{
101101
to: jetton_wallet,
102102
value: 0,
103-
mode: 64,
103+
mode: SendRemainingValue,
104104
body: JettonTransfer{query_id: query_id, amount: amount, destination: destination, response_destination: destination, custom_payload: message.asComment(), forward_ton_amount: self.forward_ton_amount, forward_payload: emptySlice()}.toCell()
105105
});
106106
}

0 commit comments

Comments
 (0)