diff --git a/contracts/data_structure/LibAddressSet.sol b/contracts/data_structure/LibAddressSet.sol index 420ef805..df4ff4dd 100644 --- a/contracts/data_structure/LibAddressSet.sol +++ b/contracts/data_structure/LibAddressSet.sol @@ -19,12 +19,12 @@ pragma solidity ^0.4.25; library LibAddressSet { - struct AddressSet { + struct AddressSet { mapping (address => uint256) indexMapping; address[] values; } - function add(AddressSet storage self, address value) internal { + function add(AddressSet storage self, address value) internal { require(value != address(0x0), "LibAddressSet: value can't be 0x0"); require(!contains(self, value), "LibAddressSet: value already exists in the set."); self.values.push(value); @@ -63,4 +63,4 @@ library LibAddressSet { } -} \ No newline at end of file +}