Skip to content

Commit

Permalink
feat: modify GetTotalEffectiveListedNFTAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
Jecket1 committed Jul 17, 2024
1 parent 69e31eb commit 9e80db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contract/Forest/ForestContract_Views.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ public override GetTotalEffectiveListedNFTAmountOutput GetTotalEffectiveListedNF
TotalAmount = totalAmount
};
}
if (allowance != 0 && collectionAllowance == "")

if (allowance != 0 && (collectionAllowance == null || collectionAllowance == ""))
{
return new GetTotalEffectiveListedNFTAmountOutput()
{
Expand Down

0 comments on commit 9e80db2

Please sign in to comment.