From 4090e0bfa590494128ac9d1919765a5ab0663b43 Mon Sep 17 00:00:00 2001 From: lychees Date: Tue, 21 Jul 2020 15:10:21 -0700 Subject: [PATCH] Update cryptohero.sol --- contracts/Ethereum/contracts/cryptohero.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/Ethereum/contracts/cryptohero.sol b/contracts/Ethereum/contracts/cryptohero.sol index f1820f9..677d2c6 100644 --- a/contracts/Ethereum/contracts/cryptohero.sol +++ b/contracts/Ethereum/contracts/cryptohero.sol @@ -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 { @@ -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; } }