From b5da5899cfa8236fd42f422f362c10f8012efa38 Mon Sep 17 00:00:00 2001 From: gpsanant Date: Sun, 15 Sep 2024 21:47:13 -0700 Subject: [PATCH] receive function --- src/contracts/core/StakeRootCompendium.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/contracts/core/StakeRootCompendium.sol b/src/contracts/core/StakeRootCompendium.sol index a8762b5b9..34464b1d5 100644 --- a/src/contracts/core/StakeRootCompendium.sol +++ b/src/contracts/core/StakeRootCompendium.sol @@ -537,4 +537,7 @@ contract StakeRootCompendium is StakeRootCompendiumStorage { ) ); } + + // in case of charge problems + receive() external payable {} }