From ef8f52a1e8400c0b17164a24f5e4778f394598e7 Mon Sep 17 00:00:00 2001 From: juliaaschmidt <121238805+juliaaschmidt@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:48:17 +0100 Subject: [PATCH] fix: initialize reentrancy guard (#291) --- contracts/src/WLSETH.1.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/src/WLSETH.1.sol b/contracts/src/WLSETH.1.sol index 025568d7..1ba9f1f2 100644 --- a/contracts/src/WLSETH.1.sol +++ b/contracts/src/WLSETH.1.sol @@ -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); }