Skip to content

Commit ac525c1

Browse files
author
Yash Agrawal
committed
feat: minor fixes
1 parent 400f2ff commit ac525c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/SBTToken.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ contract SBTToken is ISBTToken, ERC721EnumerableUpgradeable {
113113
}
114114

115115
function tokensOfOwner(
116-
address _owner
116+
address tokenOwner
117117
) external view override returns (uint256[] memory) {
118-
uint256 length = super.balanceOf(_owner);
118+
uint256 length = super.balanceOf(tokenOwner);
119119
uint256[] memory tokens = new uint256[](length);
120120
for (uint256 i = 0; i < length; i++) {
121-
tokens[i] = super.tokenOfOwnerByIndex(_owner, i);
121+
tokens[i] = super.tokenOfOwnerByIndex(tokenOwner, i);
122122
}
123123
return tokens;
124124
}

0 commit comments

Comments
 (0)