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

Use exist property instead of deleted for better handle of nil values #5

Open
thisisommore opened this issue Mar 24, 2022 · 0 comments

Comments

@thisisommore
Copy link
Contributor

Issue by thisisommore
Monday Mar 14, 2022 at 09:29 GMT
Originally opened as https://github.com/TheLazarusNetwork/marketplace-contracts/issues/28


Every Boolean is false in smartcontract when that item doesn't exist. So if item doesn't exist and deleted in MarketItem is false then it means that item still exist and which is not true so to fix that we can replace it with exist property which can be false for nil items and therefore servers the purpose

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

No branches or pull requests

1 participant