We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ac15c commit 6fa6a96Copy full SHA for 6fa6a96
apps/dashboard/src/app/(app)/(dashboard)/published-contract/components/custom-contract.tsx
@@ -218,9 +218,7 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
218
const defaultFeeRecipientFunction = metadata.abi.find(
219
(a) => a.type === "function" && a.name === "DEFAULT_FEE_RECIPIENT",
220
);
221
- const hasInbuiltDefaultFeeConfig =
222
- defaultFeeRecipientFunction &&
223
- metadata.publisher === THIRDWEB_PUBLISHER_ADDRESS;
+ const hasInbuiltDefaultFeeConfig = defaultFeeRecipientFunction;
224
225
const isFeeExempt =
226
walletChain?.id && ZERO_FEE_CHAINS.includes(walletChain.id);
0 commit comments