Skip to content

Commit

Permalink
comment on brickability
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r committed Oct 2, 2024
1 parent da62bcd commit 83f12ea
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ contract PaidCFAOpsMacro is IUserDefinedMacro {
}

// Don't allow native tokens in excess of the required fee
// Note: this is safe only as long as this contract can't receive native tokens through other means,
// e.g. by implementing a fallback or receive function.
function postCheck(ISuperfluid /*host*/, bytes memory /*params*/, address /*msgSender*/) external view {
if (address(this).balance != 0) revert FeeOverpaid();
}
Expand Down

0 comments on commit 83f12ea

Please sign in to comment.