Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Fix tests failing on solc 0.8.0 or above (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored Jun 7, 2021
1 parent 73020af commit 160918c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-middleware/tests/solidity-contracts/DSProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ contract DSAuth is DSAuthEvents {
return true;
} else if (src == owner) {
return true;
} else if (authority == DSAuthority(0)) {
} else if (authority == DSAuthority(address(uint160(0)))) {
return false;
} else {
return authority.canCall(src, address(this), sig);
Expand Down

0 comments on commit 160918c

Please sign in to comment.