Skip to content

Commit 9fa59ff

Browse files
author
admin
committed
Fixed minor typo in getItemsbyOwner function header
1 parent c4f6b8d commit 9fa59ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MemoryArrayBuilding/MemoryArrayBuildingGasExample.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ contract MemoryArrayBuildingCheap {
1414

1515
mapping(address => uint) public ownerItemCount;
1616

17-
function getItemsbyOwner(address _owner) pubic view returns (uint[]) {
17+
function getItemsbyOwner(address _owner) public view returns (uint[]) {
1818
uint[] memory result = new uint[](ownerItemCount[_owner]);
1919

2020
uint counter = 0;

0 commit comments

Comments
 (0)