Skip to content

Commit

Permalink
reentrancy guard
Browse files Browse the repository at this point in the history
  • Loading branch information
stitetsati committed Aug 13, 2021
1 parent d71fdc4 commit a5ee0fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions contracts/burners/CurveLPBurner.vy
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def __init__(_receiver: address, _recovery: address, _owner: address, _emergency


@external
@nonreentrant("lock")
def burn(_coin: address) -> bool:
"""
@notice Convert `_coin` by removing liquidity and send to receiver
Expand Down
1 change: 1 addition & 0 deletions contracts/burners/MUSDBurner.vy
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def __init__(_receiver: address, _recovery: address, _owner: address, _emergency


@external
@nonreentrant("lock")
def burn(_coin: address) -> bool:
"""
@notice Convert `_coin` to USDC by withdrawing
Expand Down

0 comments on commit a5ee0fd

Please sign in to comment.