Skip to content

Commit

Permalink
adds more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
uF4No committed Apr 27, 2023
1 parent 85d011f commit 87cb0a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/deploy-multisig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function (hre: HardhatRuntimeEnvironment) {
const owner1 = Wallet.createRandom();
const owner2 = Wallet.createRandom();

// // For the simplicity of the tutorial, we will use zero hash as salt
// For the simplicity of the tutorial, we will use zero hash as salt
const salt = ethers.constants.HashZero;

// deploy account owned by owner1 & owner2
Expand Down Expand Up @@ -59,6 +59,7 @@ export default async function (hre: HardhatRuntimeEnvironment) {
// Transaction to deploy a new account using the multisig we just deployed
let aaTx = await aaFactory.populateTransaction.deployAccount(
salt,
// These are accounts that will own the newly deployed account
Wallet.createRandom().address,
Wallet.createRandom().address
);
Expand Down

0 comments on commit 87cb0a0

Please sign in to comment.