From b192e48ddb484eb47b4cbb3d57a0dc56b01d1c16 Mon Sep 17 00:00:00 2001 From: TrooperCrypto Date: Wed, 21 May 2025 21:01:45 +0200 Subject: [PATCH] remove duplicated function getNodeUnstakingRpl --- contracts/contract/node/RocketNodeStaking.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contracts/contract/node/RocketNodeStaking.sol b/contracts/contract/node/RocketNodeStaking.sol index ee8d2e1a..c593c3aa 100644 --- a/contracts/contract/node/RocketNodeStaking.sol +++ b/contracts/contract/node/RocketNodeStaking.sol @@ -117,11 +117,6 @@ contract RocketNodeStaking is RocketBase, RocketNodeStakingInterface { return getUint(keccak256(abi.encodePacked("rpl.megapool.unstake.time", _nodeAddress))); } - /// @notice Returns the timestamp at which a node last unstaked megapool staked RPL - function getNodeUnstakingRpl(address _nodeAddress) public view returns (uint256) { - return getUint(keccak256(abi.encodePacked("rpl.megapool.unstaking.amount", _nodeAddress))); - } - /// @notice Returns the timestamp at which a node last staked RPL function getNodeRPLStakedTime(address _nodeAddress) override public view returns (uint256) { return getUint(keccak256(abi.encodePacked("rpl.staked.node.time", _nodeAddress)));