diff --git a/packages/contracts/src/dollar/libraries/LibUbiquityPool.sol b/packages/contracts/src/dollar/libraries/LibUbiquityPool.sol index 5957e6f01..966abbd9b 100644 --- a/packages/contracts/src/dollar/libraries/LibUbiquityPool.sol +++ b/packages/contracts/src/dollar/libraries/LibUbiquityPool.sol @@ -647,7 +647,7 @@ library LibUbiquityPool { ) internal { UbiquityPoolStorage storage poolStorage = ubiquityPoolStorage(); - uint256 collateralIndex = poolStorage.collateralAddressToIndex[ + uint256 collateralIndex = poolStorage.collateralIndex[ collateralAddress ]; poolStorage.collateralPriceFeedAddresses[