Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed Aug 18, 2024
1 parent 04d1097 commit bf265c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fees/manifold.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const evm = async ({ fromApi, toApi, chain, createBalances }: FetchOptions) => {
const dailyFees = createBalances();
dailyFees.addBalances(post)
dailyFees.subtract(pre)
if(Object.values(dailyFees)[0]<0){
if(Number(Object.values(dailyFees.getBalances())[0])<0){
/*
When a new NFT is minted, a fee gets paid, the fee changes based on whether the NFT was minted with no whitelist or with a merkle whitelist
However there's no event emitted that can be used to differentiate those two cases, so its impossible to track exact fees via events, only upper and lower bounds
Expand Down

0 comments on commit bf265c2

Please sign in to comment.