From c9beef925e30410a6dc82124f039f714529bc60d Mon Sep 17 00:00:00 2001 From: didi Date: Fri, 6 Oct 2023 08:58:52 +0200 Subject: [PATCH] satisfy linter --- packages/ethereum-contracts/contracts/superfluid/Superfluid.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ethereum-contracts/contracts/superfluid/Superfluid.sol b/packages/ethereum-contracts/contracts/superfluid/Superfluid.sol index 930f0eb3e1..57b4a03b68 100644 --- a/packages/ethereum-contracts/contracts/superfluid/Superfluid.sol +++ b/packages/ethereum-contracts/contracts/superfluid/Superfluid.sol @@ -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); @@ -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);