Skip to content

Commit

Permalink
satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r committed Oct 6, 2023
1 parent dcdf4aa commit c9beef9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ contract Superfluid is
function registerApp(uint256 configWord) external override {
if (APP_WHITE_LISTING_ENABLED) {
// for historical reasons, we internal use "k1" as default registration key
// solhint-disable-next-line avoid-tx-origin
_enforceAppRegistrationPermissioning("k1", tx.origin);
}
_registerApp(ISuperApp(msg.sender), configWord);
Expand All @@ -334,6 +335,7 @@ contract Superfluid is
external override
{
if (APP_WHITE_LISTING_ENABLED) {
// solhint-disable-next-line avoid-tx-origin
_enforceAppRegistrationPermissioning(registrationKey, tx.origin);
}
_registerApp(ISuperApp(msg.sender), configWord);
Expand Down

0 comments on commit c9beef9

Please sign in to comment.