mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
fixing the deploy.js
This commit is contained in:
parent
66aca938d3
commit
aa05aefef9
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ async function main() {
|
|||
const unlockTime = Math.floor(Date.now() / 1000) + 3600; // 1 hour from now
|
||||
|
||||
const Lock = await ethers.getContractFactory("Lock", deployer);
|
||||
const lock = await Lock.deploy();
|
||||
const lock = await Lock.deploy(unlockTime);
|
||||
|
||||
await lock.deployed();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue