We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d8a46 commit bddcb69Copy full SHA for bddcb69
third_party/pyth/multisig-wh-message-builder/src/index.ts
@@ -9,7 +9,7 @@ import {
9
SystemProgram,
10
TransactionInstruction,
11
} from "@solana/web3.js";
12
-import Squads from "@sqds/mesh";
+import Squads, { DEFAULT_MULTISIG_PROGRAM_ID, getMsPDA } from "@sqds/mesh";
13
import { getIxAuthorityPDA } from "@sqds/mesh";
14
import { InstructionAccount } from "@sqds/mesh/lib/types";
15
import bs58 from "bs58";
@@ -125,7 +125,7 @@ program
125
cluster == "localdevnet" ? options.solanaRpc : undefined
126
);
127
128
- let vaultAddr = CONFIG[cluster].vault;
+ let vaultAddr = getMsPDA(createKeyAddr, DEFAULT_MULTISIG_PROGRAM_ID)[0];
129
console.log("Creating new vault at", vaultAddr.toString());
130
131
try {
0 commit comments