diff --git a/libraries/sbv2-utils/src/anchor.ts b/libraries/sbv2-utils/src/anchor.ts index 90cff26..8cb1391 100644 --- a/libraries/sbv2-utils/src/anchor.ts +++ b/libraries/sbv2-utils/src/anchor.ts @@ -176,7 +176,7 @@ export function getWorkspace( cluster === "localnet" ? "http://localhost:8899" : clusterApiUrl(cluster); const provider = new anchor.AnchorProvider( new Connection(url, { commitment: "confirmed" }), - new anchor.Wallet(wallet), + new AnchorWallet(wallet), { commitment: "confirmed" } ); return new anchor.Program(idl, programId, provider);