Skip to content

Commit 3496d52

Browse files
committed
keep naming style uniform
1 parent b5696d2 commit 3496d52

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

basic/25-multi-sig-wallet/scripts/deploy.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ async function main () {
1010
console.log("MultiSigWallet owner is :", Alice.address);
1111

1212
//部署MyToken.sol
13-
const MultiSigWallet = await ethers.getContractFactory("MultiSigWallet");
14-
const multiSigWalletReceipt = await MultiSigWallet.deploy([Alice.address], 1);
13+
const MultiSigWalletContractFactory = await ethers.getContractFactory("MultiSigWallet");
14+
const multiSigWalletReceipt = await MultiSigWalletContractFactory.deploy([Alice.address], 1);
1515
await multiSigWalletReceipt.deployed();
1616

17-
console.log("MultiSigWallet address:", multiSigWalletReceipt.address);
17+
console.log("MultiSigWallet Contract address:", multiSigWalletReceipt.address);
1818

1919
// Deploy Verify sol
2020
const verifyContractFactory = await ethers.getContractFactory("Verifier");
21-
const verifyContract = await await verifyContractFactory.deploy();
22-
await verifyContract.deployed();
21+
const verifyReceipt = await verifyContractFactory.deploy();
22+
await verifyReceipt.deployed();
2323

24-
console.log("Verifier Contract address: ", verifyContract.address)
24+
console.log("Verifier Contract address: ", verifyReceipt.address)
2525
}
2626

2727
main()

0 commit comments

Comments
 (0)