Skip to content

Commit 94c493a

Browse files
committed
Fix of contract update
1 parent c995207 commit 94c493a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/SwapPair/SwapPairContract.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ contract SwapPairContract is ITokensReceivedCallback, ISwapPairInformation, IUpg
13201320
*/
13211321
function updateSwapPairCode(TvmCell newCode, uint32 newCodeVersion) override external onlySwapPairRoot {
13221322
require(
1323-
newCodeVersion > newCodeVersion,
1323+
newCodeVersion > swapPairCodeVersion,
13241324
SwapPairErrors.CODE_DOWNGRADE_REQUESTED
13251325
);
13261326
tvm.accept();

0 commit comments

Comments
 (0)