File tree 1 file changed +6
-6
lines changed
basic/25-multi-sig-wallet/scripts
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ async function main () {
10
10
console . log ( "MultiSigWallet owner is :" , Alice . address ) ;
11
11
12
12
//部署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 ) ;
15
15
await multiSigWalletReceipt . deployed ( ) ;
16
16
17
- console . log ( "MultiSigWallet address:" , multiSigWalletReceipt . address ) ;
17
+ console . log ( "MultiSigWallet Contract address:" , multiSigWalletReceipt . address ) ;
18
18
19
19
// Deploy Verify sol
20
20
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 ( ) ;
23
23
24
- console . log ( "Verifier Contract address: " , verifyContract . address )
24
+ console . log ( "Verifier Contract address: " , verifyReceipt . address )
25
25
}
26
26
27
27
main ( )
You can’t perform that action at this time.
0 commit comments