Skip to content

Commit 4ab52f0

Browse files
chore: fixed deploy format
1 parent 5647508 commit 4ab52f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/deploy.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ async function main() {
1212

1313
const [deployer] = await ethers.getSigners();
1414

15-
let walletContractName = "";
16-
switch(await deployer.getChainId()) {
15+
let walletContractName = '';
16+
switch (await deployer.getChainId()) {
1717
// https://chainlist.org/
1818
//eth
1919
case 1:
2020
//gteth
2121
case 5:
22-
walletContractName = "WalletSimple"
22+
walletContractName = 'WalletSimple';
2323
break;
2424
//matic
2525
case 137:
2626
//tmatic
2727
case 80001:
28-
walletContractName = "PolygonWalletSimple"
28+
walletContractName = 'PolygonWalletSimple';
2929
break;
3030
}
3131

32-
console.log("Deployed wallet contract called: " + walletContractName);
32+
console.log('Deployed wallet contract called: ' + walletContractName);
3333

3434
const WalletSimple = await ethers.getContractFactory(walletContractName);
3535
const walletSimple = await WalletSimple.deploy();

0 commit comments

Comments
 (0)