@drift-labs/vaults-sdk 0.3.34 → 0.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,7 +36,7 @@ export const initVaultDepositor = async (program: Command, cmdOpts: OptionValues
|
|
|
36
36
|
vaultAddress,
|
|
37
37
|
depositAuthority,
|
|
38
38
|
);
|
|
39
|
-
const tx = await driftVault.initializeVaultDepositor(vaultAddress, depositAuthority);
|
|
39
|
+
const tx = await driftVault.initializeVaultDepositor(vaultAddress, depositAuthority, driftVault.driftClient.wallet.publicKey);
|
|
40
40
|
console.log(`VaultDepositor initialized for ${depositAuthority}: ${tx}`);
|
|
41
41
|
console.log(`VaultDepositor address: ${vaultDepositorAddress}`);
|
|
42
42
|
};
|