Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove compile warning #68

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ChefSnoopy
Copy link
Collaborator

Now tokenURI function does not use the parameter positionManager.
So we can remove compile warning by deleting positionManager

Screenshot 2024-07-26 at 11 19 17

Now tokenURI function does not use the parameter positionManager.
So we can remove compile warning by deleting positionManager
@@ -22,6 +22,7 @@ contract NonfungibleTokenPositionDescriptorOffChain is INonfungibleTokenPosition
override
returns (string memory)
{
delete positionManager;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the only thing u want is compressing the warning , how about function tokenURI(INonfungiblePositionManager, uint256 tokenId)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants