Skip to content

Commit 02c8022

Browse files
committed
Some fixes
1 parent 33e7aba commit 02c8022

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contracts/SwapPair/SwapPairContract.sol

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ contract SwapPairContract is ITokensReceivedCallback, ISwapPairInformation, IUpg
6161
uint private initializedStatus = 0;
6262

6363
// Tokens positions
64-
// TODO: Паша: удалять данные о коде кошелька после получения данных
6564
uint8 constant T1 = 0;
6665
uint8 constant T2 = 1;
6766

@@ -199,9 +198,11 @@ contract SwapPairContract is ITokensReceivedCallback, ISwapPairInformation, IUpg
199198
tvm.accept();
200199
if (msg.sender == token1) {
201200
T1Info = rtcd;
201+
delete T1Info.wallet_code;
202202
tokenInfoCount++;
203203
} else {
204204
T2Info = rtcd;
205+
delete T2Info.wallet_code;
205206
tokenInfoCount++;
206207
}
207208

0 commit comments

Comments
 (0)