Skip to content

Commit

Permalink
fix: initialize reentrancy guard (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaaschmidt authored Sep 12, 2024
1 parent fe801e2 commit ef8f52a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/src/WLSETH.1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ contract WLSETHV1 is IWLSETHV1, Initializable, ReentrancyGuardUpgradeable {

/// @inheritdoc IWLSETHV1
function initWLSETHV1(address _river) external initializer {
__ReentrancyGuard_init();
RiverAddress.set(_river);
emit SetRiver(_river);
}
Expand Down

0 comments on commit ef8f52a

Please sign in to comment.