Fix tests failing on solc 0.8.0 or above (#310)
This commit is contained in:
parent
73020af0a7
commit
160918c49d
|
@ -48,7 +48,7 @@ contract DSAuth is DSAuthEvents {
|
||||||
return true;
|
return true;
|
||||||
} else if (src == owner) {
|
} else if (src == owner) {
|
||||||
return true;
|
return true;
|
||||||
} else if (authority == DSAuthority(0)) {
|
} else if (authority == DSAuthority(address(uint160(0)))) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return authority.canCall(src, address(this), sig);
|
return authority.canCall(src, address(this), sig);
|
||||||
|
|
Loading…
Reference in New Issue