Skip to content

Commit b8258f1

Browse files
committed
issue-11: remove duplication in constructor - IOFT.decimalConversionRate()
Signed-off-by: shankar <shankar@layerzerolabs.org>
1 parent 373eedb commit b8258f1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

packages/ovault-evm/contracts/OVaultComposer.sol

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ contract OVaultComposer is IOVaultComposer, ReentrancyGuard {
6666
// Approve the shareOFTAdapter with the share tokens held by this contract
6767
IERC20(IOFT(_shareOFT).token()).approve(_shareOFT, type(uint256).max);
6868

69-
ASSET_DECIMAL_CONVERSION_RATE = IOFT(_assetOFT).decimalConversionRate();
70-
SHARE_DECIMAL_CONVERSION_RATE = IOFT(_shareOFT).decimalConversionRate();
71-
7269
REFUND_OVERPAY_ADDRESS = _refundOverpayAddress;
7370
ASSET_ERC20 = address(OVAULT.asset());
7471
}

0 commit comments

Comments
 (0)