mirror of https://github.com/logos-co/staking.git
fix deploy script
This commit is contained in:
parent
cbeb1afdd8
commit
50241a1494
|
@ -24,11 +24,11 @@ async function main() {
|
|||
const tokenController = await ethers.deployContract(
|
||||
network.config.chainId == 1 ? "SNTPlaceHolder" : "SNTFaucet",
|
||||
[
|
||||
deployer,
|
||||
tokenController.target
|
||||
deployer.address,
|
||||
miniMeToken.target
|
||||
]
|
||||
);
|
||||
await miniMeToken.changeController(tokenController.address);
|
||||
await miniMeToken.changeController(tokenController.target);
|
||||
console.log(
|
||||
`${network.config.chainId == 1 ? "SNT" : "STT"} ${miniMeToken.target} controlled by ${await miniMeToken.controller()}`
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue