Skip to content

Commit

Permalink
revert solidity change
Browse files Browse the repository at this point in the history
  • Loading branch information
adridadou committed Mar 11, 2022
1 parent d37a6f0 commit 5373681
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions contracts/extensions/erc1155/ERC1155TokenExtension.sol
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,7 @@ contract ERC1155TokenExtension is IExtension, IERC1155Receiver {
uint256 tokenId,
uint256 index
) external view returns (address) {
EnumerableSet.AddressSet storage addressSet = _ownership[
getNFTId(nftAddress, tokenId)
];
return addressSet.at(index);
return _ownership[getNFTId(nftAddress, tokenId)].at(index);
}

/**
Expand Down

0 comments on commit 5373681

Please sign in to comment.