From f164b31f06388c34763c2f58d0c87efacf8a9127 Mon Sep 17 00:00:00 2001 From: bb111189 <4401980+bb111189@users.noreply.github.com> Date: Wed, 25 Oct 2023 12:24:38 +0800 Subject: [PATCH] chore: fix "addresses" typo --- contracts/CDKDataCommittee.sol | 4 ++-- docs/CDKDataCommittee.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/CDKDataCommittee.sol b/contracts/CDKDataCommittee.sol index edb70f1a0..da2d7c579 100644 --- a/contracts/CDKDataCommittee.sol +++ b/contracts/CDKDataCommittee.sol @@ -45,11 +45,11 @@ ICDKDataCommitteeErrors, OwnableUpgradeable { /** * @notice Allows the admin to setup the members of the committee. Note that: * The system will require N / M signatures where N => _requiredAmountOfSignatures and M => urls.length - * There must be the same amount of urls than addressess encoded in the addrsBytes + * There must be the same amount of urls than addresses encoded in the addrsBytes * A member is represented by the url and the address contained in urls[i] and addrsBytes[i*_ADDR_SIZE : i*_ADDR_SIZE + _ADDR_SIZE] * @param _requiredAmountOfSignatures Required amount of signatures * @param urls List of urls of the members of the committee - * @param addrsBytes Byte array that contains the addressess of the members of the committee + * @param addrsBytes Byte array that contains the addresses of the members of the committee */ function setupCommittee( uint _requiredAmountOfSignatures, diff --git a/docs/CDKDataCommittee.md b/docs/CDKDataCommittee.md index b43f7504d..9bf48a406 100644 --- a/docs/CDKDataCommittee.md +++ b/docs/CDKDataCommittee.md @@ -21,7 +21,7 @@ ``` Allows the admin to setup the members of the committee. Note that: The system will require N / M signatures where N => _requiredAmountOfSignatures and M => urls.length -There must be the same amount of urls than addressess encoded in the addrsBytes +There must be the same amount of urls than addresses encoded in the addrsBytes A member is represented by the url and the address contained in urls[i] and addrsBytes[i*_ADDR_SIZE : i*_ADDR_SIZE + _ADDR_SIZE] @@ -30,7 +30,7 @@ A member is represented by the url and the address contained in urls[i] and addr | :--- | :--- | :------------------------------------------------------------------- | |`_requiredAmountOfSignatures` | uint256 | Required amount of signatures |`urls` | string[] | List of urls of the members of the committee -|`addrsBytes` | bytes | Byte array that contains the addressess of the members of the committee +|`addrsBytes` | bytes | Byte array that contains the addresses of the members of the committee ### getAmountOfMembers ```solidity