Skip to content

Commit

Permalink
fix: Typo redundant casting (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyRy79261 authored Nov 25, 2024
1 parent b14b3e6 commit 6295656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/goodDollar/BancorExchangeProvider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ contract BancorExchangeProvider is IExchangeProvider, IBancorExchangeProvider, B

/// @inheritdoc IBancorExchangeProvider
function setReserve(address _reserve) public onlyOwner {
require(address(_reserve) != address(0), "Reserve address must be set");
require(_reserve != address(0), "Reserve address must be set");
reserve = IReserve(_reserve);
emit ReserveUpdated(address(_reserve));
emit ReserveUpdated(_reserve);
}

/// @inheritdoc IBancorExchangeProvider
Expand Down

0 comments on commit 6295656

Please sign in to comment.