Skip to content

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

@thisisommore

Description

@thisisommore

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions