Skip to content

Commit

Permalink
refactor(zora): remove checksum on referral
Browse files Browse the repository at this point in the history
  • Loading branch information
mmackz committed Jul 16, 2024
1 parent ba2329a commit bee49cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/zora/src/Zora.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,11 @@ export const mint = async (
})
}
if (referral) {
const referralAddress = getAddress(referral)
andArray1155.push({
$or: [
{ mintReferral: referralAddress },
{ mintReferral: referral },
{
rewardsRecipients: [referralAddress],
rewardsRecipients: [referral],
},
],
})
Expand Down

0 comments on commit bee49cc

Please sign in to comment.