Skip to content

Commit

Permalink
feat: clean AMO minter addAMO function
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Sep 10, 2024
1 parent f15daba commit 96e72d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/contracts/src/dollar/core/UbiquityAMOMinter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,7 @@ contract UbiquityAMOMinter is Ownable {
require(amo_address != address(0), "Zero address detected");

// This checks if the AMO adheres to the AMO interface
(uint256 dollar_val_e18, uint256 collat_val_e18) = IAMO(amo_address)
.dollarBalances();
IAMO(amo_address).dollarBalances();

require(amos[amo_address] == false, "Address already exists");
amos[amo_address] = true;
Expand Down

0 comments on commit 96e72d7

Please sign in to comment.