diff --git a/BrightID.sol b/BrightID.sol index d44a823..6eaee3c 100644 --- a/BrightID.sol +++ b/BrightID.sol @@ -74,6 +74,7 @@ contract BrightID is Ownable, IBrightID { verifications[addrs[i]].isVerified = false; history[addrs[i - 1]] = addrs[i]; } + history[addrs[i-1]] = address(0); emit Verified(addrs[0]); } diff --git a/StoppableBrightID.sol b/StoppableBrightID.sol index e8a882b..e5d21d3 100644 --- a/StoppableBrightID.sol +++ b/StoppableBrightID.sol @@ -148,6 +148,7 @@ contract StoppableBrightID is Ownable, IBrightID { verifications[addrs[i]].isVerified = false; history[addrs[i - 1]] = addrs[i]; } + history[addrs[i-1]] = address(0); emit Verified(addrs[0]); }