Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
Update cryptohero.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
lychees committed Jul 21, 2020
1 parent ee7408d commit 4090e0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Ethereum/contracts/cryptohero.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './interfaces/IERC20.sol';

contract Cryptohero {
address public issuer_address;
address public owner;
address public owner;
uint256 public price;

constructor() public {
Expand All @@ -19,6 +19,6 @@ contract Cryptohero {
IERC20 token = IERC20(issuer_address);
token.transferFrom(msg.sender, owner, price);
owner = msg.sender;
price = price + 1;
price = price + 1;
}
}

0 comments on commit 4090e0b

Please sign in to comment.