bugfix: vault creation loop
This commit is contained in:
1
vault.js
1
vault.js
@@ -96,6 +96,7 @@ async function createVault(chainId, owner, num) {
|
||||
const signer = getSigner(chainId);
|
||||
const deployer = new ethers.Contract(chainInfo[chainId].factory, factoryAbi, signer)
|
||||
const vaultAddr = vaultAddress(chainId, owner, num)
|
||||
console.log(' ==>', vaultAddr )
|
||||
try {
|
||||
const tx = await deployer.deployVault(owner, num)
|
||||
// console.log(`deploying vault for ${owner} #${num} with tx ${tx.hash}`)
|
||||
|
||||
Reference in New Issue
Block a user