|
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];
dlog/packages/alpress-contracts/src/contracts/Alpress.sol
Line 164 in 0ee3b58
unlistmethod 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;