Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions contracts/protocol/PriceOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ contract PriceOracle is Ownable {
"PriceOracle.getPrice: Caller must be system contract."
);

if (_assetOne == _assetTwo) {
return 10**18;
}

bool priceFound;
uint256 price;

Expand Down