From 18d9df799ac8006f6a3f519d2614fa4799a2906f Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sat, 21 Sep 2024 11:47:18 +0200 Subject: [PATCH] Make sendValidatorPayment nonReentrant --- packages/protocol/contracts-0.8/common/EpochManager.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol/contracts-0.8/common/EpochManager.sol b/packages/protocol/contracts-0.8/common/EpochManager.sol index c8de3995ea2..bc8334e7cbd 100644 --- a/packages/protocol/contracts-0.8/common/EpochManager.sol +++ b/packages/protocol/contracts-0.8/common/EpochManager.sol @@ -248,7 +248,7 @@ contract EpochManager is * delegation beneficiary. * @param validator Account of the validator. */ - function sendValidatorPayment(address validator) external { + function sendValidatorPayment(address validator) external nonReentrant { IAccounts accounts = IAccounts(getAccounts()); address signer = accounts.getValidatorSigner(validator);