Skip to content

unlist method deletes wrong adress #31

@mdtanrikulu

Description

@mdtanrikulu

delete holders[msg.sender];

unlist method will be used by the DAO, not the owner itself, hence removing message sender either will remove account of the DAO if any or will not remove anything.

Correct way to do is should be, so the owner of the blog will be removed first then the account;

// Delete blog from this contract mapping
delete holders[blogs[label]];
delete blogs[label];

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions