Reentrancy Guard 2.0

How we could have stopped tens of millions of $ from being stolen, and accidentally made 2.5K$

How we could have stopped tens of millions of $ from being stolen, and accidentally made 2.5K$