mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
trying to deploy again
This commit is contained in:
parent
aaef2dda1d
commit
cb91b1ce7e
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ async function main() {
|
||||||
const Lock = await ethers.getContractFactory("Lock", deployer);
|
const Lock = await ethers.getContractFactory("Lock", deployer);
|
||||||
const lock = await Lock.deploy(unlockTime);
|
const lock = await Lock.deploy(unlockTime);
|
||||||
|
|
||||||
await lock.deployed();
|
await lock.waitForDeployment();
|
||||||
|
|
||||||
console.log("Lock deployed to:", lock.address);
|
console.log("Lock deployed to:", lock.address);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue