Remove authorship on purge (Related to #13)
This commit is contained in:
parent
f26b527208
commit
1e8a2fe9b2
|
@ -104,6 +104,7 @@ contract StickerType is Controlled, TokenClaimer, ERC721Enumerable {
|
|||
}
|
||||
|
||||
if(packs[_packId].category.length == 0){
|
||||
_burn(ownerOf(_packId), _packId);
|
||||
delete packs[_packId];
|
||||
emit Unregister(_packId);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue