Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contract Marketplace {
string memory _description,
string memory _location,
uint _price
) public {
) public external {
uint _sold = 0;
products[productsLength] = Product(
payable(msg.sender),
Expand Down Expand Up @@ -61,4 +61,4 @@ contract Marketplace {
function getProductsLength() public view returns (uint) {
return (productsLength);
}
}
}