Errors cleanup

This commit is contained in:
PedroCailleret
2023-05-08 16:17:32 -03:00
parent a0e39bafab
commit 6a3bea432c
19 changed files with 13 additions and 37 deletions

View File

@@ -654,6 +654,7 @@ contract P2PIX is
_spendLimit := returnValue
// reverts if call does not succeed.
if iszero(success) {
// StaticCallFailed()
mstore(0x00, 0xe10bf1cc)
revert(0x1c, 0x04)
}