-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contract address validation has been added to the `getCollectibleTokenURI` method. This validation was already present in the one place where `getCollectibleTokenURI` is called, so overall this is basically a refactor with no functional changes, except that the API of each of these controllers has changed. It's a non-functional change from mobile's perspective though. It might seem more appropriate to throw an error if the address isn't an NFT, rather than returning an empty string. But this is the pre- existing behaviour, so it has been preserved for now.
- Loading branch information
Showing
3 changed files
with
12 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters