Skip to content

Commit

Permalink
Merge pull request #1 from edcrossfire/patch-1
Browse files Browse the repository at this point in the history
Update Provider to AnchorProvider
  • Loading branch information
pappas999 committed May 10, 2022
2 parents 77b4fb0 + 32a79d1 commit 186b741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const anchor = require("@project-serum/anchor");
const provider = anchor.Provider.local();
const provider = anchor.AnchorProvider.local();
// Configure the cluster.
anchor.setProvider(provider);
const args = require('minimist')(process.argv.slice(2));
Expand Down Expand Up @@ -45,4 +45,4 @@ async function main() {
}

console.log("Running client...");
main().then(() => console.log("Success"));
main().then(() => console.log("Success"));

0 comments on commit 186b741

Please sign in to comment.