Unfortunately, erc780 was updated recently and possibility to delete claim about self was removed, now only the issuer can remove a claim it made previously
function removeClaim(address issuer, address subject, bytes32 key) public {
require(msg.sender == issuer);
[x] now we can decrement totalUsers, totalAddresses and totalConfirmed when address is unregistered since we can be sure that no one else can unregister it
(Refactor)
proposal (i.e. no new features or updates, just code optimization/library updates)https://github.com/ethereum/EIPs/issues/780
Unfortunately, erc780 was updated recently and possibility to delete claim about self was removed, now only the issuer can remove a claim it made previously
We should
totalUsers
,totalAddresses
andtotalConfirmed
when address is unregistered since we can be sure that no one else can unregister it