Skip to content

Commit

Permalink
calling _setMaxTransferValue inside initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasMSg committed Oct 9, 2023
1 parent d618da7 commit 71295bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/marketplace/contracts/exchange/ExchangeCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71295bc

Please sign in to comment.