cyhhao 2 years ago
parent 23c06f456f
commit cd4ca7e443

@ -22,7 +22,7 @@ async function main() {
await newHubReceipt.wait();
let createHubReceipt = await hubFac.createHub({ nonce: nonce });
let createHubReceipt = await hubFac.createHub(false, { nonce: nonce });
nonce++;
await createHubReceipt.wait();

@ -20,7 +20,7 @@ async function main() {
let newHubReceipt = await hubFac.newHubImp({ nonce: nonce });
nonce++;
let createHubReceipt = await hubFac.createHub({ nonce: nonce });
let createHubReceipt = await hubFac.createHub(false, { nonce: nonce });
nonce++;
let hubAddr = await hubFac.hubs(0);

Loading…
Cancel
Save