Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Aug 26, 2024
1 parent 3ddbccb commit 3a7e0d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ const programId = new web3.PublicKey("ZETAjseVjuFsxdRxo6MmTCvqFwb3ZHUx56Co3vCmGi
console.log("chain_id_bn:", chain_id_bn.toNumber());

// Uncomment the following to initialize the gateway program;
// can only be intialized once
// can only be initialized once
// try {
// const inst = await gatewayProgram.methods.initialize(tssAddressArray,chain_id_bn).transaction();
// console.log("initialize inst:", inst);
// const tx = await anchor.web3.sendAndConfirmTransaction(conn, inst, [wallet]);
// console.log("tx:", tx);
// } catch (err) {
// console.log("intialize err:", err);
// console.log("initialize err:", err);
// }

const pdaAccountInfo = await conn.getAccountInfo(pdaAccount);
Expand Down

0 comments on commit 3a7e0d5

Please sign in to comment.