From e8c50f7e7a87961d94374a3d401b3bb73f18ca37 Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Sat, 11 Jan 2025 14:25:07 +0100 Subject: [PATCH] Update Staking1155.sol Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com> --- contracts/extension/Staking1155.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/extension/Staking1155.sol b/contracts/extension/Staking1155.sol index d30885b12..b5edf594c 100644 --- a/contracts/extension/Staking1155.sol +++ b/contracts/extension/Staking1155.sol @@ -20,7 +20,7 @@ abstract contract Staking1155 is ReentrancyGuard, IStaking1155 { /// @dev Flag to check direct transfers of staking tokens. uint8 internal isStaking = 1; - ///@dev Next staking condition Id. Tracks number of conditon updates so far. + ///@dev Next staking condition Id. Tracks number of condition updates so far. uint64 private nextDefaultConditionId; ///@dev List of token-ids ever staked. @@ -32,7 +32,7 @@ abstract contract Staking1155 is ReentrancyGuard, IStaking1155 { ///@dev Mapping from default condition-id to default condition. mapping(uint64 => StakingCondition) private defaultCondition; - ///@dev Mapping from token-id to next staking condition Id for the token. Tracks number of conditon updates so far. + ///@dev Mapping from token-id to next staking condition Id for the token. Tracks number of condition updates so far. mapping(uint256 => uint64) private nextConditionId; ///@dev Mapping from token-id and staker address to Staker struct. See {struct IStaking1155.Staker}.