Skip to content

Commit

Permalink
i21 reactivated selfdestuct
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotsin committed Nov 15, 2022
1 parent 4ef000a commit 1d97a53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/InitializerHbbft.sol
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ contract InitializerHbbft {
_contracts[0],
_contracts[6]
);

if (block.number > 0) {
selfdestruct(payable(msg.sender));
}
}

function destruct() external {
Expand Down

0 comments on commit 1d97a53

Please sign in to comment.