From 698e5b318307968354fe58b211c39fbb7889121b Mon Sep 17 00:00:00 2001 From: startky Date: Sun, 14 Jun 2020 16:30:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=AB=98=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=9A=84=E6=9E=84=E9=80=A0=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contracts/Migrations.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/Migrations.sol b/contracts/Migrations.sol index eeed7a4..c9f6434 100644 --- a/contracts/Migrations.sol +++ b/contracts/Migrations.sol @@ -8,7 +8,7 @@ contract Migrations { if (msg.sender == owner) _; } - function Migrations() public { + constructor() public{ owner = msg.sender; }