diff --git a/hardhat/scripts/deploy.js b/hardhat/scripts/deploy.js index 8df050e1f7..e0c4a28f5f 100644 --- a/hardhat/scripts/deploy.js +++ b/hardhat/scripts/deploy.js @@ -6,9 +6,9 @@ async function main() { console.log("Deploying contracts with the account:", deployer.address); 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();