Skip to content

Commit 6fa6a96

Browse files
committed
Update default config
1 parent b1ac15c commit 6fa6a96

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/dashboard/src/app/(app)/(dashboard)/published-contract/components/custom-contract.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,7 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
218218
const defaultFeeRecipientFunction = metadata.abi.find(
219219
(a) => a.type === "function" && a.name === "DEFAULT_FEE_RECIPIENT",
220220
);
221-
const hasInbuiltDefaultFeeConfig =
222-
defaultFeeRecipientFunction &&
223-
metadata.publisher === THIRDWEB_PUBLISHER_ADDRESS;
221+
const hasInbuiltDefaultFeeConfig = defaultFeeRecipientFunction;
224222

225223
const isFeeExempt =
226224
walletChain?.id && ZERO_FEE_CHAINS.includes(walletChain.id);

0 commit comments

Comments
 (0)