From 71295bcc2cc24a8b7ecce7476d188b1167a63a8d Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 9 Oct 2023 16:37:45 +0200 Subject: [PATCH] calling _setMaxTransferValue inside initializer --- packages/marketplace/contracts/exchange/ExchangeCore.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/marketplace/contracts/exchange/ExchangeCore.sol b/packages/marketplace/contracts/exchange/ExchangeCore.sol index a1064f71e1..ddf353c2c0 100644 --- a/packages/marketplace/contracts/exchange/ExchangeCore.sol +++ b/packages/marketplace/contracts/exchange/ExchangeCore.sol @@ -73,7 +73,7 @@ abstract contract ExchangeCore is Initializable, TransferExecutor, ITransferMana uint256 maxTransfer ) internal onlyInitializing { _setOrderValidatorContract(newOrderValidatorAddress); - transferMax = maxTransfer; + _setMaxTransferValue(maxTransfer); } /// @notice set OrderValidator address